diff options
author | thilo <thilo@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2006-07-30 11:09:45 +0000 |
---|---|---|
committer | thilo <thilo@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2006-07-30 11:09:45 +0000 |
commit | 6c2f9b04f2b73296a77e4e70019674f6e2716117 (patch) | |
tree | 1b92059e749923f6e84503745ea7cff01839561f /code/unix | |
parent | 94496c7ba643514f52fb453f12d5d22dee35f5ef (diff) | |
download | ioquake3-aero-6c2f9b04f2b73296a77e4e70019674f6e2716117.tar.gz ioquake3-aero-6c2f9b04f2b73296a77e4e70019674f6e2716117.zip |
Fixed shit commited by myself.
git-svn-id: svn://svn.icculus.org/quake3/trunk@821 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/unix')
-rw-r--r-- | code/unix/sdl_glimp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/code/unix/sdl_glimp.c b/code/unix/sdl_glimp.c index 20cf093..9634e9f 100644 --- a/code/unix/sdl_glimp.c +++ b/code/unix/sdl_glimp.c @@ -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; |