mirror of
https://github.com/yawut/SDL.git
synced 2026-09-07 08:36:19 -05:00
Whoops, we need to actually fill the colormap on DirectColor visuals.
Temporarily disable them for now.
This commit is contained in:
@@ -34,7 +34,7 @@ get_visualinfo(Display * display, int screen, XVisualInfo * vinfo)
|
||||
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 */
|
||||
|
||||
Reference in New Issue
Block a user