mirror of
https://github.com/UberGames/ioef.git
synced 2025-01-31 04:50:37 +00:00
parent
e2d63b1fea
commit
8c04462b34
1 changed files with 2 additions and 3 deletions
|
@ -265,10 +265,9 @@ static int GLimp_SetMode( int mode, qboolean fullscreen )
|
||||||
else
|
else
|
||||||
glConfig.isFullscreen = qfalse;
|
glConfig.isFullscreen = qfalse;
|
||||||
|
|
||||||
if (!r_colorbits->value)
|
colorbits = r_colorbits->value;
|
||||||
|
if ((!colorbits) || (colorbits >= 32))
|
||||||
colorbits = 24;
|
colorbits = 24;
|
||||||
else
|
|
||||||
colorbits = r_colorbits->value;
|
|
||||||
|
|
||||||
if (!r_depthbits->value)
|
if (!r_depthbits->value)
|
||||||
depthbits = 24;
|
depthbits = 24;
|
||||||
|
|
Loading…
Reference in a new issue