Whoops, we need to actually fill the colormap on DirectColor visuals.
authorSam Lantinga <slouken@libsdl.org>
Fri, 02 Jan 2009 04:35:52 +0000
changeset 29542c01dc6218cc
parent 2953 33794586c53d
child 2955 2692999d5271
Whoops, we need to actually fill the colormap on DirectColor visuals.
Temporarily disable them for now.
src/video/x11/SDL_x11modes.c
     1.1 --- a/src/video/x11/SDL_x11modes.c	Fri Jan 02 01:37:07 2009 +0000
     1.2 +++ b/src/video/x11/SDL_x11modes.c	Fri Jan 02 04:35:52 2009 +0000
     1.3 @@ -34,7 +34,7 @@
     1.4      const char *visual_id = SDL_getenv("SDL_VIDEO_X11_VISUALID");
     1.5      /* We really don't need DirectColor visuals until we implement
     1.6       * gamma ramps, but we'll leave it on for now to catch bugs */
     1.7 -    int use_directcolor = 1;
     1.8 +    int use_directcolor = 0;
     1.9      int depth;
    1.10  
    1.11      /* Look for an exact visual, if requested */