Oops, meant PsuedoColor not TrueColor
authorBob Pendleton <bob@pendleton.com>
Mon, 23 Jul 2007 16:55:38 +0000
changeset 22119462f4408ecb
parent 2210 1de324fce4e8
child 2212 fdadda42d4d4
Oops, meant PsuedoColor not TrueColor
src/video/x11/SDL_x11gamma.c
src/video/x11/SDL_x11window.c
     1.1 --- a/src/video/x11/SDL_x11gamma.c	Mon Jul 23 01:17:38 2007 +0000
     1.2 +++ b/src/video/x11/SDL_x11gamma.c	Mon Jul 23 16:55:38 2007 +0000
     1.3 @@ -23,11 +23,10 @@
     1.4  #include "../SDL_sysvideo.h"
     1.5  #include "SDL_x11video.h"
     1.6  
     1.7 -
     1.8  int
     1.9  X11_SetDisplayGammaRamp(_THIS, Uint16 * ramp)
    1.10  {
    1.11 -    return (-1);
    1.12 +    return -1;
    1.13  }
    1.14  
    1.15  int
     2.1 --- a/src/video/x11/SDL_x11window.c	Mon Jul 23 01:17:38 2007 +0000
     2.2 +++ b/src/video/x11/SDL_x11window.c	Mon Jul 23 16:55:38 2007 +0000
     2.3 @@ -181,7 +181,7 @@
     2.4      }
     2.5      xattr.background_pixel = 0;
     2.6      xattr.border_pixel = 0;
     2.7 -    if (visual->class == DirectColor || visual->class == TrueColor) {
     2.8 +    if (visual->class == DirectColor || visual->class == PseudoColor) {
     2.9          int nmaps;
    2.10          XStandardColormap *stdmaps;
    2.11          int i;