Commit 4ac8b6c0 authored by Sam Lantinga's avatar Sam Lantinga

Fixed defaults for 8 bpp visuals

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401389
parent 1d7a0409
...@@ -217,13 +217,9 @@ int SDL_VideoInit (const char *driver_name, Uint32 flags) ...@@ -217,13 +217,9 @@ int SDL_VideoInit (const char *driver_name, Uint32 flags)
/* Set some very sane GL defaults */ /* Set some very sane GL defaults */
video->gl_config.driver_loaded = 0; video->gl_config.driver_loaded = 0;
video->gl_config.dll_handle = NULL; video->gl_config.dll_handle = NULL;
video->gl_config.red_size = 5; video->gl_config.red_size = 3;
#if 1 /* This seems to work on more video cards, as a default */ video->gl_config.green_size = 3;
video->gl_config.green_size = 5; video->gl_config.blue_size = 2;
#else
video->gl_config.green_size = 6;
#endif
video->gl_config.blue_size = 5;
video->gl_config.alpha_size = 0; video->gl_config.alpha_size = 0;
video->gl_config.buffer_size = 0; video->gl_config.buffer_size = 0;
video->gl_config.depth_size = 16; video->gl_config.depth_size = 16;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment