changeset 2954:2c01dc6218cc

Whoops, we need to actually fill the colormap on DirectColor visuals. Temporarily disable them for now.
author Sam Lantinga <slouken@libsdl.org>
date Fri, 02 Jan 2009 04:35:52 +0000
parents 33794586c53d
children 2692999d5271
files src/video/x11/SDL_x11modes.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/video/x11/SDL_x11modes.c	Fri Jan 02 01:37:07 2009 +0000
+++ b/src/video/x11/SDL_x11modes.c	Fri Jan 02 04:35:52 2009 +0000
@@ -34,7 +34,7 @@
     const char *visual_id = SDL_getenv("SDL_VIDEO_X11_VISUALID");
     /* 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 use_directcolor = 0;
     int depth;
 
     /* Look for an exact visual, if requested */