r85 - trunk/code/unix

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Wed Sep 7 02:03:42 EDT 2005


Author: icculus
Date: 2005-09-07 02:03:42 -0400 (Wed, 07 Sep 2005)
New Revision: 85

Modified:
   trunk/code/unix/sdl_glimp.c
Log:
Possible fix for 16-bit displays (untested)...reset the gl red/green/blue
 size to 4 bits unless we have a 24-bit framebuffer.


Modified: trunk/code/unix/sdl_glimp.c
===================================================================
--- trunk/code/unix/sdl_glimp.c	2005-09-04 19:36:36 UTC (rev 84)
+++ trunk/code/unix/sdl_glimp.c	2005-09-07 06:03:42 UTC (rev 85)
@@ -631,6 +631,7 @@
         tstencilbits = 0;
     }
 
+    sdlcolorbits = 4;
     if (tcolorbits == 24)
         sdlcolorbits = 8;
 




More information about the quake3-commits mailing list