From 7b6c3a3f7c9d1775016b340a00080945c295e232 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Wed, 7 Sep 2005 06:03:42 +0000 Subject: [PATCH] Possible fix for 16-bit displays (untested)...reset the gl red/green/blue size to 4 bits unless we have a 24-bit framebuffer. --- code/unix/sdl_glimp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/code/unix/sdl_glimp.c b/code/unix/sdl_glimp.c index 19c83cbb..be5b693a 100644 --- a/code/unix/sdl_glimp.c +++ b/code/unix/sdl_glimp.c @@ -631,6 +631,7 @@ static int GLW_SetMode( const char *drivername, int mode, qboolean fullscreen ) tstencilbits = 0; } + sdlcolorbits = 4; if (tcolorbits == 24) sdlcolorbits = 8;