Skip to content

Commit

Permalink
Fixed defaults for 8 bpp visuals
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Feb 20, 2006
1 parent 20bc81d commit 966e939
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions src/video/SDL_video.c
Expand Up @@ -217,13 +217,9 @@ int SDL_VideoInit (const char *driver_name, Uint32 flags)
/* 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;
Expand Down

0 comments on commit 966e939

Please sign in to comment.