Fixed defaults for 8 bpp visuals
authorSam Lantinga
Mon, 20 Feb 2006 10:18:08 +0000
changeset 138585d8b5fdd9f6
parent 1384 6fd39b50dd91
child 1386 2b7e0180a72c
Fixed defaults for 8 bpp visuals
src/video/SDL_video.c
     1.1 --- a/src/video/SDL_video.c	Mon Feb 20 08:49:00 2006 +0000
     1.2 +++ b/src/video/SDL_video.c	Mon Feb 20 10:18:08 2006 +0000
     1.3 @@ -217,13 +217,9 @@
     1.4  	/* Set some very sane GL defaults */
     1.5  	video->gl_config.driver_loaded = 0;
     1.6  	video->gl_config.dll_handle = NULL;
     1.7 -	video->gl_config.red_size = 5;
     1.8 -#if 1 /* This seems to work on more video cards, as a default */
     1.9 -	video->gl_config.green_size = 5;
    1.10 -#else
    1.11 -	video->gl_config.green_size = 6;
    1.12 -#endif
    1.13 -	video->gl_config.blue_size = 5;
    1.14 +	video->gl_config.red_size = 3;
    1.15 +	video->gl_config.green_size = 3;
    1.16 +	video->gl_config.blue_size = 2;
    1.17  	video->gl_config.alpha_size = 0;
    1.18  	video->gl_config.buffer_size = 0;
    1.19  	video->gl_config.depth_size = 16;