mirror of
https://github.com/UberGames/ioef.git
synced 2024-11-28 06:52:35 +00:00
Fixed shit commited by myself.
This commit is contained in:
parent
2c14f02ee5
commit
c6bf30ea7f
1 changed files with 2 additions and 1 deletions
|
@ -554,7 +554,7 @@ static qboolean GLW_StartDriverAndSetMode( const char *drivername,
|
|||
static int GLW_SetMode( const char *drivername, int mode, qboolean fullscreen )
|
||||
{
|
||||
const char* glstring; // bk001130 - from cvs1.17 (mkv)
|
||||
int sdlcolorbits = 4;
|
||||
int sdlcolorbits;
|
||||
int colorbits, depthbits, stencilbits;
|
||||
int tcolorbits, tdepthbits, tstencilbits;
|
||||
int i = 0;
|
||||
|
@ -650,6 +650,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