diff src/video/x11/SDL_x11gamma.c @ 1575:3ba88cb7eb1b

Updated dynamic X11 code. See details in Bugzilla #170.
author Ryan C. Gordon <icculus@icculus.org>
date Wed, 22 Mar 2006 05:00:59 +0000
parents d910939febfa
children 782fd950bd46 c121d94672cb a1b03ba2fcd0
line wrap: on
line diff
--- a/src/video/x11/SDL_x11gamma.c	Wed Mar 22 04:51:44 2006 +0000
+++ b/src/video/x11/SDL_x11gamma.c	Wed Mar 22 05:00:59 2006 +0000
@@ -64,7 +64,7 @@
 	}
         if ( SDL_GetAppState() & SDL_APPACTIVE ) {
             succeeded = SDL_NAME(XF86VidModeSetGamma)(SDL_Display, SDL_Screen, &gamma);
-            pXSync(SDL_Display, False);
+            XSync(SDL_Display, False);
         } else {
             gamma_saved[0] = gamma.red;
             gamma_saved[1] = gamma.green;