diff options
Diffstat (limited to 'src/sdl/graphics.c')
-rwxr-xr-x | src/sdl/graphics.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/sdl/graphics.c b/src/sdl/graphics.c index 7415b52..f562f9b 100755 --- a/src/sdl/graphics.c +++ b/src/sdl/graphics.c @@ -37,7 +37,11 @@ void PHL_GraphicsInit() Input_InitJoystick(); - uint32_t flags = SDL_HWSURFACE|SDL_DOUBLEBUF; +#ifdef TRIMUI + uint32_t flags = SDL_SWSURFACE; +#else + uint32_t flags = SDL_HWSURFACE|SDL_DOUBLEBUF; +#endif if(wantFullscreen || desktopFS) flags |= SDL_FULLSCREEN; screen = SDL_SetVideoMode((desktopFS)?0:screenW, (desktopFS)?0:screenH, 0, flags); |