diff src/video/x11/SDL_x11gamma.h @ 3010:a6694a812119

Modified and totally untested code to load the color tables for DirectColor and PseudoColor windows.
author Bob Pendleton <bob@pendleton.com>
date Fri, 09 Jan 2009 20:41:31 +0000
parents 99210400e8b9
children 4b594623401b
line wrap: on
line diff
--- a/src/video/x11/SDL_x11gamma.h	Fri Jan 09 20:39:33 2009 +0000
+++ b/src/video/x11/SDL_x11gamma.h	Fri Jan 09 20:41:31 2009 +0000
@@ -27,8 +27,8 @@
 extern Colormap X11_LookupColormap(Display * display, int scrNum,
                                    VisualID vid);
 extern void X11_TrackColormap(Display * display, int scrNum,
-                              Colormap colormap, XStandardColormap * cmap,
-                              Visual * visual);
+                              Colormap colormap,
+                              Visual * visual, XColor * ramp);
 
 extern int X11_SetDisplayGammaRamp(_THIS, Uint16 * ramp);
 extern int X11_GetDisplayGammaRamp(_THIS, Uint16 * ramp);