diff src/video/x11/SDL_x11gamma.h @ 2214:e7164a4dac62

Added gamma table support to X11. Also now supports DirectColor visuals.
author Bob Pendleton <bob@pendleton.com>
date Wed, 25 Jul 2007 21:22:55 +0000
parents 59a667370c57
children 99210400e8b9
line wrap: on
line diff
--- a/src/video/x11/SDL_x11gamma.h	Tue Jul 24 18:46:45 2007 +0000
+++ b/src/video/x11/SDL_x11gamma.h	Wed Jul 25 21:22:55 2007 +0000
@@ -24,8 +24,11 @@
 #ifndef _SDL_x11gamma_h
 #define _SDL_x11gamma_h
 
+extern Colormap X11_LookupColormap(Display * display, int scrNum,
+                                   VisualID vid);
 extern void X11_TrackColormap(Display * display, int scrNum,
-                              XStandardColormap * cmap, Visual * visual);
+                              Colormap colormap, XStandardColormap * cmap,
+                              Visual * visual);
 
 extern int X11_SetDisplayGammaRamp(_THIS, Uint16 * ramp);
 extern int X11_GetDisplayGammaRamp(_THIS, Uint16 * ramp);