mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2025-02-17 01:21:47 +00:00
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:
parent
752d393daa
commit
7b6c3a3f7c
1 changed files with 1 additions and 0 deletions
|
@ -631,6 +631,7 @@ static int GLW_SetMode( const char *drivername, int mode, qboolean fullscreen )
|
|||
tstencilbits = 0;
|
||||
}
|
||||
|
||||
sdlcolorbits = 4;
|
||||
if (tcolorbits == 24)
|
||||
sdlcolorbits = 8;
|
||||
|
||||
|
|
Loading…
Reference in a new issue