Mercurial > sdl-ios-xcode
diff src/video/x11/SDL_x11modes.c @ 5248:3a8a452b49f0
Removed gamma support since it wasn't widely used and not well supported.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Thu, 10 Feb 2011 11:39:08 -0800 |
parents | 073b86030262 |
children | b530ef003506 |
line wrap: on
line diff
--- a/src/video/x11/SDL_x11modes.c Thu Feb 10 10:37:35 2011 -0800 +++ b/src/video/x11/SDL_x11modes.c Thu Feb 10 11:39:08 2011 -0800 @@ -47,9 +47,7 @@ } depth = DefaultDepth(display, screen); - if ((X11_UseDirectColorVisuals() && - XMatchVisualInfo(display, screen, depth, DirectColor, vinfo)) || - XMatchVisualInfo(display, screen, depth, TrueColor, vinfo) || + if (XMatchVisualInfo(display, screen, depth, TrueColor, vinfo) || XMatchVisualInfo(display, screen, depth, PseudoColor, vinfo) || XMatchVisualInfo(display, screen, depth, StaticColor, vinfo)) { return 0;