comparison src/video/x11/SDL_x11video.c @ 4290:485868a1c283 SDL-1.2

Cache the swap control setting, even on Mesa.
author Ryan C. Gordon <icculus@icculus.org>
date Sat, 10 Oct 2009 06:38:02 +0000
parents 4ab46e81d08e
children 4deaba8b1b42
comparison
equal deleted inserted replaced
4289:91c458013850 4290:485868a1c283
120 } 120 }
121 SDL_memset(device->hidden, 0, (sizeof *device->hidden)); 121 SDL_memset(device->hidden, 0, (sizeof *device->hidden));
122 SDL_memset(device->gl_data, 0, (sizeof *device->gl_data)); 122 SDL_memset(device->gl_data, 0, (sizeof *device->gl_data));
123 123
124 #if SDL_VIDEO_OPENGL_GLX 124 #if SDL_VIDEO_OPENGL_GLX
125 device->gl_data->sgi_swap_interval = -1; 125 device->gl_data->swap_interval = -1;
126 #endif 126 #endif
127 127
128 /* Set the driver flags */ 128 /* Set the driver flags */
129 device->handles_any_size = 1; 129 device->handles_any_size = 1;
130 130