Try to open graphics at desktop bit depth, rather than 8bpp. Might explain some very grainy windows screenshots...

This commit is contained in:
Ragnvald Maartmann-Moe IV 2003-01-12 16:58:31 +00:00
parent e2eb4f62e6
commit e2d199cfb2

View file

@ -156,7 +156,7 @@ VID_Init (unsigned char *palette)
SDL_GL_SetAttribute (SDL_GL_DOUBLEBUFFER, 1); SDL_GL_SetAttribute (SDL_GL_DOUBLEBUFFER, 1);
SDL_GL_SetAttribute (SDL_GL_DEPTH_SIZE, 1); SDL_GL_SetAttribute (SDL_GL_DEPTH_SIZE, 1);
if (!(screen = SDL_SetVideoMode (scr_width, scr_height, 8, flags))) { if (!(screen = SDL_SetVideoMode (scr_width, scr_height, 0, flags))) {
Sys_Error ("Couldn't set video mode: %s", SDL_GetError ()); Sys_Error ("Couldn't set video mode: %s", SDL_GetError ());
SDL_Quit (); SDL_Quit ();
} }