diff src/video/x11/SDL_x11video.c @ 2162:1d23870d8c49

Added stubs for x11 gamma functions and enabled them in SDL_x11video.c
author Bob Pendleton <bob@pendleton.com>
date Tue, 10 Jul 2007 14:44:20 +0000
parents 420716272158
children dbc6d1893869
line wrap: on
line diff
--- a/src/video/x11/SDL_x11video.c	Tue Jul 10 05:29:56 2007 +0000
+++ b/src/video/x11/SDL_x11video.c	Tue Jul 10 14:44:20 2007 +0000
@@ -168,8 +168,8 @@
     device->VideoQuit = X11_VideoQuit;
     device->GetDisplayModes = X11_GetDisplayModes;
     device->SetDisplayMode = X11_SetDisplayMode;
-//    device->SetDisplayGammaRamp = X11_SetDisplayGammaRamp;
-//    device->GetDisplayGammaRamp = X11_GetDisplayGammaRamp;
+    device->SetDisplayGammaRamp = X11_SetDisplayGammaRamp;
+    device->GetDisplayGammaRamp = X11_GetDisplayGammaRamp;
     device->PumpEvents = X11_PumpEvents;
 
     device->CreateWindow = X11_CreateWindow;