diff 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
line wrap: on
line diff
--- a/src/video/x11/SDL_x11video.c	Sat Oct 10 05:21:31 2009 +0000
+++ b/src/video/x11/SDL_x11video.c	Sat Oct 10 06:38:02 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->swap_interval = -1;
 #endif
 
 		/* Set the driver flags */