src/video/x11/SDL_x11window.c
changeset 2211 9462f4408ecb
parent 2185 2032348afed1
child 2213 59a667370c57
     1.1 --- a/src/video/x11/SDL_x11window.c	Mon Jul 23 01:17:38 2007 +0000
     1.2 +++ b/src/video/x11/SDL_x11window.c	Mon Jul 23 16:55:38 2007 +0000
     1.3 @@ -181,7 +181,7 @@
     1.4      }
     1.5      xattr.background_pixel = 0;
     1.6      xattr.border_pixel = 0;
     1.7 -    if (visual->class == DirectColor || visual->class == TrueColor) {
     1.8 +    if (visual->class == DirectColor || visual->class == PseudoColor) {
     1.9          int nmaps;
    1.10          XStandardColormap *stdmaps;
    1.11          int i;