Mercurial > sdl-ios-xcode
comparison src/video/photon/SDL_ph_modes_c.h @ 701:aaf3b8af6616
Date: Sat, 30 Aug 2003 16:28:10 +0300
From: "Mike Gorchak"
Subject: Re: SDL 1.2.6
- minor changes about shared library building under QNX6 into README.QNX
- added forgotten libSDLmain.a into distribution, SDL.qpg.in
- added header guards to the all headers.
- fixed fullscreen double buffered mode.
- fixed Photon crashes after/during using fullscreen OpenGL modes.
- added GL_MakeCurrent function.
- added SDL_VIDEOEXPOSE event, when OpenGL window have been resized
- added more HAVE_OPENGL checks to avoid dead code compilation without using OpenGL
- finished code reorganization (began into previous patches).
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sat, 30 Aug 2003 17:07:59 +0000 |
parents | 8bedd6d61642 |
children | b8d311d90021 |
comparison
equal
deleted
inserted
replaced
700:c35edafc84d1 | 701:aaf3b8af6616 |
---|---|
18 | 18 |
19 Sam Lantinga | 19 Sam Lantinga |
20 slouken@libsdl.org | 20 slouken@libsdl.org |
21 */ | 21 */ |
22 | 22 |
23 #ifndef __SDL_PH_MODES_H__ | |
24 #define __SDL_PH_MODES_H__ | |
25 | |
23 #ifdef SAVE_RCSID | 26 #ifdef SAVE_RCSID |
24 static char rcsid = | 27 static char rcsid = |
25 "@(#) $Id$"; | 28 "@(#) $Id$"; |
26 #endif | 29 #endif /* SAVE_RCSID */ |
27 | |
28 | |
29 #ifndef _PH_MODES_INCLUDED_ | |
30 #define _PH_MODES_INCLUDED_ | |
31 | 30 |
32 #include "SDL_ph_video.h" | 31 #include "SDL_ph_video.h" |
33 | 32 |
34 #define PH_MAX_VIDEOMODES 127 | 33 #define PH_MAX_VIDEOMODES 127 |
35 | 34 |
40 extern int ph_LeaveFullScreen(_THIS); | 39 extern int ph_LeaveFullScreen(_THIS); |
41 extern int ph_GetVideoMode(int width, int height, int bpp); | 40 extern int ph_GetVideoMode(int width, int height, int bpp); |
42 extern int get_mode_any_format(int width, int height, int bpp); | 41 extern int get_mode_any_format(int width, int height, int bpp); |
43 extern int ph_ToggleFullScreen(_THIS, int on); | 42 extern int ph_ToggleFullScreen(_THIS, int on); |
44 | 43 |
45 #endif /* _PH_MODES_INCLUDED_ */ | 44 #endif /* __SDL_PH_MODES_H__ */ |