Mercurial > sdl-ios-xcode
comparison 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 |
comparison
equal
deleted
inserted
replaced
2962:1e242954330b | 2963:ee331407574f |
---|---|
265 X11_QuitModes(_this); | 265 X11_QuitModes(_this); |
266 X11_QuitKeyboard(_this); | 266 X11_QuitKeyboard(_this); |
267 X11_QuitMouse(_this); | 267 X11_QuitMouse(_this); |
268 } | 268 } |
269 | 269 |
270 SDL_bool | |
271 X11_UseDirectColorVisuals() | |
272 { | |
273 /* Once we implement DirectColor colormaps and gamma ramp support... | |
274 return SDL_getenv("SDL_VIDEO_X11_NODIRECTCOLOR") ? SDL_FALSE : SDL_TRUE; | |
275 */ | |
276 return SDL_FALSE; | |
277 } | |
278 | |
270 /* vim: set ts=4 sw=4 expandtab: */ | 279 /* vim: set ts=4 sw=4 expandtab: */ |