Mercurial > sdl-ios-xcode
comparison include/SDL_video.h @ 1736:3b2a92126f4d
Implemented bug #2, 117:
Date: Mon, 21 Mar 2005 12:06:14 +0100
From: Per Inge Mathisen
Subject: Re: [SDL] Outstanding patches?
The patch adds support for setting SDL_GL_SWAP_CONTROL to Windows and
X11. In Windows you can also query this enum to check that it is
working, or see what the default is - such functionality does not
exist in GLX. For more information on the standards implemented:
http://oss.sgi.com/projects/ogl-sample/registry/SGI/swap_control.txt
http://oss.sgi.com/projects/ogl-sample/registry/EXT/wgl_swap_control.txt
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Thu, 27 Apr 2006 07:59:16 +0000 |
parents | 8d9bb0cf2c2a |
children | eacc5bc01d1c |
comparison
equal
deleted
inserted
replaced
1652:dc219ba4cf45 | 1736:3b2a92126f4d |
---|---|
211 SDL_GL_ACCUM_GREEN_SIZE, | 211 SDL_GL_ACCUM_GREEN_SIZE, |
212 SDL_GL_ACCUM_BLUE_SIZE, | 212 SDL_GL_ACCUM_BLUE_SIZE, |
213 SDL_GL_ACCUM_ALPHA_SIZE, | 213 SDL_GL_ACCUM_ALPHA_SIZE, |
214 SDL_GL_STEREO, | 214 SDL_GL_STEREO, |
215 SDL_GL_MULTISAMPLEBUFFERS, | 215 SDL_GL_MULTISAMPLEBUFFERS, |
216 SDL_GL_MULTISAMPLESAMPLES | 216 SDL_GL_MULTISAMPLESAMPLES, |
217 SDL_GL_SWAP_CONTROL | |
217 } SDL_GLattr; | 218 } SDL_GLattr; |
218 | 219 |
219 /* flags for SDL_SetPalette() */ | 220 /* flags for SDL_SetPalette() */ |
220 #define SDL_LOGPAL 0x01 | 221 #define SDL_LOGPAL 0x01 |
221 #define SDL_PHYSPAL 0x02 | 222 #define SDL_PHYSPAL 0x02 |