Mercurial > sdl-ios-xcode
changeset 1385:85d8b5fdd9f6
Fixed defaults for 8 bpp visuals
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 20 Feb 2006 10:18:08 +0000 |
parents | 6fd39b50dd91 |
children | 2b7e0180a72c |
files | src/video/SDL_video.c |
diffstat | 1 files changed, 3 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/src/video/SDL_video.c Mon Feb 20 08:49:00 2006 +0000 +++ b/src/video/SDL_video.c Mon Feb 20 10:18:08 2006 +0000 @@ -217,13 +217,9 @@ /* Set some very sane GL defaults */ video->gl_config.driver_loaded = 0; video->gl_config.dll_handle = NULL; - video->gl_config.red_size = 5; -#if 1 /* This seems to work on more video cards, as a default */ - video->gl_config.green_size = 5; -#else - video->gl_config.green_size = 6; -#endif - video->gl_config.blue_size = 5; + video->gl_config.red_size = 3; + video->gl_config.green_size = 3; + video->gl_config.blue_size = 2; video->gl_config.alpha_size = 0; video->gl_config.buffer_size = 0; video->gl_config.depth_size = 16;