Added SDL_ANYFORMAT to screen to fix OSX bug where game would run slow on
non 16bpp displays.
This commit is contained in:
parent
b1fcc34391
commit
5f2941d89b
2
rc.c
2
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
|
||||
|
|
Loading…
Reference in New Issue