aboutsummaryrefslogtreecommitdiff
path: root/src/sdl/graphics.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sdl/graphics.c')
-rwxr-xr-xsrc/sdl/graphics.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sdl/graphics.c b/src/sdl/graphics.c
index a947a3e..4af2381 100755
--- a/src/sdl/graphics.c
+++ b/src/sdl/graphics.c
@@ -38,7 +38,7 @@ void PHL_GraphicsInit()
Input_InitJoystick();
uint32_t flags = SDL_HWSURFACE|SDL_DOUBLEBUF;
- if(wantFullscreen)
+ if(wantFullscreen || desktopFS)
flags |= SDL_FULLSCREEN;
screen = SDL_SetVideoMode((desktopFS)?0:screenW, (desktopFS)?0:screenH, 0, flags);
if(desktopFS)