diff src/video/photon/SDL_ph_modes_c.h @ 910:4ab6d1fd028f

Date: Sat, 26 Jun 2004 14:58:42 +0300 From: "Mike Gorchak" Subject: QNX 6.3 fixes for SDL Sam, I've added new OpenGL framework for SDL, which appeared in the new QNX version - 6.3. I've leave compatibility with previous QNX versions. And I've moved all GL specific functions to the separate module, like it done for the other platforms. SDL is now ready for the QNX 6.3 :)
author Sam Lantinga <slouken@libsdl.org>
date Sun, 18 Jul 2004 19:46:38 +0000
parents b8d311d90021
children c9b51268668f
line wrap: on
line diff
--- a/src/video/photon/SDL_ph_modes_c.h	Sun Jul 18 19:44:06 2004 +0000
+++ b/src/video/photon/SDL_ph_modes_c.h	Sun Jul 18 19:46:38 2004 +0000
@@ -32,10 +32,13 @@
 
 #define PH_MAX_VIDEOMODES 127
 
+#define PH_ENTER_DIRECTMODE  0
+#define PH_IGNORE_DIRECTMODE 1
+
 extern SDL_Rect **ph_ListModes(_THIS,SDL_PixelFormat *format, Uint32 flags);
 extern void ph_FreeVideoModes(_THIS);
 extern int ph_ResizeFullScreen(_THIS);
-extern int ph_EnterFullScreen(_THIS, SDL_Surface* screen);
+extern int ph_EnterFullScreen(_THIS, SDL_Surface* screen, int fmode);
 extern int ph_LeaveFullScreen(_THIS);
 extern int ph_GetVideoMode(int width, int height, int bpp);
 extern int get_mode_any_format(int width, int height, int bpp);