From 5f2941d89b14d84f097f5bed75115f8ce829040f Mon Sep 17 00:00:00 2001 From: Rob Pearce Date: Wed, 24 Dec 2008 22:02:10 +0000 Subject: [PATCH] Added SDL_ANYFORMAT to screen to fix OSX bug where game would run slow on non 16bpp displays. --- rc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc.c b/rc.c index 886ce3e..7bf75aa 100644 --- a/rc.c +++ b/rc.c @@ -9555,7 +9555,7 @@ void initsdl(void) { screen = SDL_SetVideoMode(640,480,16,SDL_OPENGLBLIT|vidargs); #else //screen = SDL_SetVideoMode(640,480,16,SDL_SWSURFACE|SDL_DOUBLEBUF|vidargs); - screen = SDL_SetVideoMode(640,480,16,SDL_SWSURFACE|vidargs); + screen = SDL_SetVideoMode(640,480,16,SDL_SWSURFACE|SDL_ANYFORMAT|vidargs); #endif // set title bar