From e2d199cfb25d336e658f6ca948aae7e5a9c2fb18 Mon Sep 17 00:00:00 2001 From: Ragnvald Maartmann-Moe IV Date: Sun, 12 Jan 2003 16:58:31 +0000 Subject: [PATCH] Try to open graphics at desktop bit depth, rather than 8bpp. Might explain some very grainy windows screenshots... --- libs/video/targets/vid_sgl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/video/targets/vid_sgl.c b/libs/video/targets/vid_sgl.c index c49ab4e68..aad460136 100644 --- a/libs/video/targets/vid_sgl.c +++ b/libs/video/targets/vid_sgl.c @@ -156,7 +156,7 @@ VID_Init (unsigned char *palette) SDL_GL_SetAttribute (SDL_GL_DOUBLEBUFFER, 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 ()); SDL_Quit (); }