Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Whoops, we need to actually fill the colormap on DirectColor visuals.
Browse files Browse the repository at this point in the history
Temporarily disable them for now.
  • Loading branch information
slouken committed Jan 2, 2009
1 parent 235823a commit 748ab82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/video/x11/SDL_x11modes.c
Expand Up @@ -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 */
Expand Down

0 comments on commit 748ab82

Please sign in to comment.