Added SDL_ANYFORMAT to screen to fix OSX bug where game would run slow on

non 16bpp displays.
This commit is contained in:
Rob Pearce 2008-12-24 22:02:10 +00:00
parent b1fcc34391
commit 5f2941d89b
1 changed files with 1 additions and 1 deletions

2
rc.c
View File

@ -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