Mercurial > sdl-ios-xcode
diff src/video/x11/SDL_x11video.c @ 4288:4ab46e81d08e SDL-1.2
Default value for SGI swap control GL attribute should be -1.
Explicitly try to set it if you want a different value. Different glX
implementations appear to have different defaults for this, and you can't
query them for the current value.
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Sat, 10 Oct 2009 05:17:47 +0000 |
parents | 010efca83dfc |
children | 485868a1c283 |
line wrap: on
line diff
--- a/src/video/x11/SDL_x11video.c Sat Oct 10 02:11:07 2009 +0000 +++ b/src/video/x11/SDL_x11video.c Sat Oct 10 05:17:47 2009 +0000 @@ -122,7 +122,7 @@ SDL_memset(device->gl_data, 0, (sizeof *device->gl_data)); #if SDL_VIDEO_OPENGL_GLX - device->gl_data->sgi_swap_interval = 1; + device->gl_data->sgi_swap_interval = -1; #endif /* Set the driver flags */