Mercurial > sdl-ios-xcode
comparison 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 |
comparison
equal
deleted
inserted
replaced
909:e247a0139900 | 910:4ab6d1fd028f |
---|---|
30 | 30 |
31 #include "SDL_ph_video.h" | 31 #include "SDL_ph_video.h" |
32 | 32 |
33 #define PH_MAX_VIDEOMODES 127 | 33 #define PH_MAX_VIDEOMODES 127 |
34 | 34 |
35 #define PH_ENTER_DIRECTMODE 0 | |
36 #define PH_IGNORE_DIRECTMODE 1 | |
37 | |
35 extern SDL_Rect **ph_ListModes(_THIS,SDL_PixelFormat *format, Uint32 flags); | 38 extern SDL_Rect **ph_ListModes(_THIS,SDL_PixelFormat *format, Uint32 flags); |
36 extern void ph_FreeVideoModes(_THIS); | 39 extern void ph_FreeVideoModes(_THIS); |
37 extern int ph_ResizeFullScreen(_THIS); | 40 extern int ph_ResizeFullScreen(_THIS); |
38 extern int ph_EnterFullScreen(_THIS, SDL_Surface* screen); | 41 extern int ph_EnterFullScreen(_THIS, SDL_Surface* screen, int fmode); |
39 extern int ph_LeaveFullScreen(_THIS); | 42 extern int ph_LeaveFullScreen(_THIS); |
40 extern int ph_GetVideoMode(int width, int height, int bpp); | 43 extern int ph_GetVideoMode(int width, int height, int bpp); |
41 extern int get_mode_any_format(int width, int height, int bpp); | 44 extern int get_mode_any_format(int width, int height, int bpp); |
42 extern int ph_ToggleFullScreen(_THIS, int on); | 45 extern int ph_ToggleFullScreen(_THIS, int on); |
43 | 46 |