Fixed defaults for 8 bpp visuals
authorSam Lantinga <slouken@libsdl.org>
Mon, 20 Feb 2006 10:18:08 +0000
changeset 1385 85d8b5fdd9f6
parent 1384 6fd39b50dd91
child 1386 2b7e0180a72c
Fixed defaults for 8 bpp visuals
src/video/SDL_video.c
--- 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;