comparison src/video/photon/SDL_ph_modes_c.h @ 315:3333b6e68289

Date: Sat, 23 Mar 2002 13:53:37 +0200 From: "Mike Gorchak" <mike@malva.ua> Subject: Big QNX patch again. Added 8bit palette emulation code for window mode with bpp>=15. Added store/restore original palette for 8bit modes. Added more information about photon API call fails. Rewroten change palette code, slow but works. Fixed bug with set caption before window was inited. Fixed bugs with some initial state of variables. Fixed bug with storing old video mode settings. Fixed bug with switching to fullscreen mode and back. Fixed few double SEGFAULTS during parachute mode. Removed compilation warning with no PgWaitHWIdle prototype. Removed pack of dead unusable code. Cleanups SDL_PrivateVideoData structure, some headers. Some code formatting.
author Sam Lantinga <slouken@libsdl.org>
date Sat, 23 Mar 2002 20:19:44 +0000
parents f6ffac90895c
children 8e3ce997621c
comparison
equal deleted inserted replaced
314:bff64eba7721 315:3333b6e68289
31 31
32 #include "SDL_ph_video.h" 32 #include "SDL_ph_video.h"
33 33
34 #define PH_MAX_VIDEOMODES 127 34 #define PH_MAX_VIDEOMODES 127
35 35
36 //extern int ph_GetVideoModes(_THIS);
37 extern SDL_Rect **ph_ListModes(_THIS,SDL_PixelFormat *format, Uint32 flags); 36 extern SDL_Rect **ph_ListModes(_THIS,SDL_PixelFormat *format, Uint32 flags);
38 extern void ph_FreeVideoModes(_THIS); 37 extern void ph_FreeVideoModes(_THIS);
39 extern int ph_ResizeFullScreen(_THIS); 38 extern int ph_ResizeFullScreen(_THIS);
40 extern void ph_WaitMapped(_THIS); 39 extern void ph_WaitMapped(_THIS);
41 extern void ph_WaitUnmapped(_THIS); 40 extern void ph_WaitUnmapped(_THIS);