comparison src/video/photon/SDL_ph_video.h @ 380:bce7171e7a85

Date: Wed, 22 May 2002 22:30:58 +0300 From: "Mike Gorchak" <mike@malva.com.ua> Subject: One more QNX patch Hi ! - Fixed graywin test application. Added properly support for window size not equal to 640x480. - Added support for not aligned pitch of image in SDL_SWSURFACE and SDL_HWSURFACE. Using Photon builtin alignes. - Added memory clear after each malloc to avoid problems in the future :) - Removed unused variables and static variables, fixed some warnings. - Updated readme.QNX file.
author Sam Lantinga <slouken@libsdl.org>
date Tue, 28 May 2002 19:31:32 +0000
parents 3333b6e68289
children 8e3ce997621c
comparison
equal deleted inserted replaced
379:11c8a7684f74 380:bce7171e7a85
73 VidPtr_t dc_ptr; 73 VidPtr_t dc_ptr;
74 FRAMEDATA *CurrentFrameData; 74 FRAMEDATA *CurrentFrameData;
75 FRAMEDATA *FrameData0; 75 FRAMEDATA *FrameData0;
76 FRAMEDATA *FrameData1; 76 FRAMEDATA *FrameData1;
77 int current; 77 int current;
78 long Stride;
79 long flags; 78 long flags;
80 } ocimage; 79 } ocimage;
81 80
82 PgHWCaps_t graphics_card_caps; /* Graphics card caps at the moment of start */ 81 PgHWCaps_t graphics_card_caps; /* Graphics card caps at the moment of start */
83 int old_video_mode; /* Stored mode before fullscreen switch */ 82 int old_video_mode; /* Stored mode before fullscreen switch */