# HG changeset patch # User Bob Pendleton # Date 1185209738 0 # Node ID 9462f4408ecb92a65509082f552dd35c7c07671c # Parent 1de324fce4e8ecad935204f525db797190b88aa1 Oops, meant PsuedoColor not TrueColor diff -r 1de324fce4e8 -r 9462f4408ecb src/video/x11/SDL_x11gamma.c --- a/src/video/x11/SDL_x11gamma.c Mon Jul 23 01:17:38 2007 +0000 +++ b/src/video/x11/SDL_x11gamma.c Mon Jul 23 16:55:38 2007 +0000 @@ -23,11 +23,10 @@ #include "../SDL_sysvideo.h" #include "SDL_x11video.h" - int X11_SetDisplayGammaRamp(_THIS, Uint16 * ramp) { - return (-1); + return -1; } int diff -r 1de324fce4e8 -r 9462f4408ecb src/video/x11/SDL_x11window.c --- a/src/video/x11/SDL_x11window.c Mon Jul 23 01:17:38 2007 +0000 +++ b/src/video/x11/SDL_x11window.c Mon Jul 23 16:55:38 2007 +0000 @@ -181,7 +181,7 @@ } xattr.background_pixel = 0; xattr.border_pixel = 0; - if (visual->class == DirectColor || visual->class == TrueColor) { + if (visual->class == DirectColor || visual->class == PseudoColor) { int nmaps; XStandardColormap *stdmaps; int i;