diff src/video/x11/SDL_x11window.c @ 2211:9462f4408ecb

Oops, meant PsuedoColor not TrueColor
author Bob Pendleton <bob@pendleton.com>
date Mon, 23 Jul 2007 16:55:38 +0000
parents 2032348afed1
children 59a667370c57
line wrap: on
line diff
--- 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;