From ec0d6b6bff739ee1e50c57251107856a8896c79f Mon Sep 17 00:00:00 2001 From: Bob Pendleton Date: Mon, 23 Jul 2007 16:55:38 +0000 Subject: [PATCH] Oops, meant PsuedoColor not TrueColor --- src/video/x11/SDL_x11gamma.c | 3 +-- src/video/x11/SDL_x11window.c | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/video/x11/SDL_x11gamma.c b/src/video/x11/SDL_x11gamma.c index b1825422a..6db09a552 100644 --- a/src/video/x11/SDL_x11gamma.c +++ b/src/video/x11/SDL_x11gamma.c @@ -23,11 +23,10 @@ #include "../SDL_sysvideo.h" #include "SDL_x11video.h" - int X11_SetDisplayGammaRamp(_THIS, Uint16 * ramp) { - return (-1); + return -1; } int diff --git a/src/video/x11/SDL_x11window.c b/src/video/x11/SDL_x11window.c index 3b0b205d6..0f9e84814 100644 --- a/src/video/x11/SDL_x11window.c +++ b/src/video/x11/SDL_x11window.c @@ -181,7 +181,7 @@ X11_CreateWindow(_THIS, SDL_Window * window) } 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;