aboutsummaryrefslogtreecommitdiff
path: root/src/sdl
diff options
context:
space:
mode:
authorptitSeb2017-12-16 10:56:52 +0100
committerptitSeb2017-12-16 10:56:52 +0100
commit0b7cb343c9a6fd036124d5d6547fc692d75797ca (patch)
tree72c29111a49f22b447ebc1959d401834fff5dcf3 /src/sdl
parent9af530468e3f7fcb585efca91e9d85659a4c3640 (diff)
downloadhydracastlelabyrinth-0b7cb343c9a6fd036124d5d6547fc692d75797ca.tar.gz
hydracastlelabyrinth-0b7cb343c9a6fd036124d5d6547fc692d75797ca.tar.bz2
hydracastlelabyrinth-0b7cb343c9a6fd036124d5d6547fc692d75797ca.zip
Fixed Desktop Fullscreen that wasn't fullscreen
Diffstat (limited to 'src/sdl')
-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)