--- 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;