Mercurial > sdl-ios-xcode
diff src/video/x11/SDL_x11video.c @ 2963:ee331407574f
Don't use DirectColor visuals until we implement DirectColor colormap support
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Fri, 02 Jan 2009 15:47:49 +0000 |
parents | b93965a16fe0 |
children | e4a469d6ddab |
line wrap: on
line diff
--- a/src/video/x11/SDL_x11video.c Fri Jan 02 10:30:53 2009 +0000 +++ b/src/video/x11/SDL_x11video.c Fri Jan 02 15:47:49 2009 +0000 @@ -267,4 +267,13 @@ X11_QuitMouse(_this); } +SDL_bool +X11_UseDirectColorVisuals() +{ + /* Once we implement DirectColor colormaps and gamma ramp support... + return SDL_getenv("SDL_VIDEO_X11_NODIRECTCOLOR") ? SDL_FALSE : SDL_TRUE; + */ + return SDL_FALSE; +} + /* vim: set ts=4 sw=4 expandtab: */