src/video/x11/SDL_x11modes.c
changeset 5243 3a8a452b49f0
parent 5182 073b86030262
child 5262 b530ef003506
--- a/src/video/x11/SDL_x11modes.c	Thu Feb 10 10:37:35 2011 -0800
+++ b/src/video/x11/SDL_x11modes.c	Thu Feb 10 11:39:08 2011 -0800
@@ -47,9 +47,7 @@
     }
 
     depth = DefaultDepth(display, screen);
-    if ((X11_UseDirectColorVisuals() &&
-         XMatchVisualInfo(display, screen, depth, DirectColor, vinfo)) ||
-        XMatchVisualInfo(display, screen, depth, TrueColor, vinfo) ||
+    if (XMatchVisualInfo(display, screen, depth, TrueColor, vinfo) ||
         XMatchVisualInfo(display, screen, depth, PseudoColor, vinfo) ||
         XMatchVisualInfo(display, screen, depth, StaticColor, vinfo)) {
         return 0;