src/video/x11/SDL_x11modes.c
changeset 2906 c4150600b3ae
parent 2874 36e312e0fac0
child 2916 ffdd533f7add
--- a/src/video/x11/SDL_x11modes.c	Mon Dec 22 04:52:43 2008 +0000
+++ b/src/video/x11/SDL_x11modes.c	Mon Dec 22 04:58:35 2008 +0000
@@ -32,7 +32,13 @@
 get_visualinfo(Display * display, int screen, XVisualInfo * vinfo)
 {
     const char *visual_id = SDL_getenv("SDL_VIDEO_X11_VISUALID");
-    int use_directcolor = 1;
+    /* FIXME FIXME FIXME
+     * Window creation fails in the colormap code on DirectColor visuals:
+     *      XA_RGB_BEST_MAP not found and could not be created
+     * I'm disabling this for now until Bob can look at it.  We don't need
+     * it until we implement the gamma fading using DirectColor RGB ramps
+     */
+    int use_directcolor = 0;
     int depth;
 
     /* Look for an exact visual, if requested */