mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 23:32:09 +00:00
Try to open graphics at desktop bit depth, rather than 8bpp. Might explain some very grainy windows screenshots...
This commit is contained in:
parent
e2eb4f62e6
commit
e2d199cfb2
1 changed files with 1 additions and 1 deletions
|
@ -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 ();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue