Commit c16d0bb0 authored by Sam Lantinga's avatar Sam Lantinga

Whoops, we need to actually fill the colormap on DirectColor visuals.

Temporarily disable them for now.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403416
parent e7cc8150
...@@ -34,7 +34,7 @@ get_visualinfo(Display * display, int screen, XVisualInfo * vinfo) ...@@ -34,7 +34,7 @@ get_visualinfo(Display * display, int screen, XVisualInfo * vinfo)
const char *visual_id = SDL_getenv("SDL_VIDEO_X11_VISUALID"); const char *visual_id = SDL_getenv("SDL_VIDEO_X11_VISUALID");
/* We really don't need DirectColor visuals until we implement /* We really don't need DirectColor visuals until we implement
* gamma ramps, but we'll leave it on for now to catch bugs */ * gamma ramps, but we'll leave it on for now to catch bugs */
int use_directcolor = 1; int use_directcolor = 0;
int depth; int depth;
/* Look for an exact visual, if requested */ /* Look for an exact visual, if requested */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment