src/video/x11/SDL_x11modes.c
changeset 2945 e38423786728
parent 2920 cdb01906cb7e
child 2954 2c01dc6218cc
--- a/src/video/x11/SDL_x11modes.c	Thu Jan 01 18:49:43 2009 +0000
+++ b/src/video/x11/SDL_x11modes.c	Thu Jan 01 18:58:26 2009 +0000
@@ -32,13 +32,9 @@
 get_visualinfo(Display * display, int screen, XVisualInfo * vinfo)
 {
     const char *visual_id = SDL_getenv("SDL_VIDEO_X11_VISUALID");
-    /* 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;
+    /* We really don't need DirectColor visuals until we implement
+     * gamma ramps, but we'll leave it on for now to catch bugs */
+    int use_directcolor = 1;
     int depth;
 
     /* Look for an exact visual, if requested */