Possible fix for 16-bit displays (untested)...reset the gl red/green/blue

size to 4 bits unless we have a 24-bit framebuffer.
This commit is contained in:
Ryan C. Gordon 2005-09-07 06:03:42 +00:00
parent 752d393daa
commit 7b6c3a3f7c
1 changed files with 1 additions and 0 deletions

View File

@ -631,6 +631,7 @@ static int GLW_SetMode( const char *drivername, int mode, qboolean fullscreen )
tstencilbits = 0;
}
sdlcolorbits = 4;
if (tcolorbits == 24)
sdlcolorbits = 8;