r821 - trunk/code/unix

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Sun Jul 30 07:09:45 EDT 2006


Author: thilo
Date: 2006-07-30 07:09:45 -0400 (Sun, 30 Jul 2006)
New Revision: 821

Modified:
   trunk/code/unix/sdl_glimp.c
Log:
Fixed shit commited by myself.


Modified: trunk/code/unix/sdl_glimp.c
===================================================================
--- trunk/code/unix/sdl_glimp.c	2006-07-29 23:42:06 UTC (rev 820)
+++ trunk/code/unix/sdl_glimp.c	2006-07-30 11:09:45 UTC (rev 821)
@@ -554,7 +554,7 @@
 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 @@
         tstencilbits = 0;
     }
 
+    sdlcolorbits = 4;
     if (tcolorbits == 24)
         sdlcolorbits = 8;
 




More information about the quake3-commits mailing list