diff options
author | Colin Snover | 2017-07-06 19:26:43 -0500 |
---|---|---|
committer | Colin Snover | 2017-07-06 19:27:52 -0500 |
commit | 065dd9671e57835817549b49b3b7fb8e2e245754 (patch) | |
tree | 5725acd6368f4d8469da716828a1f8508c2cabb3 /backends/platform/sdl | |
parent | ae00f583a51d45ae3522a03832d552c1b2fbdc6a (diff) | |
download | scummvm-rg350-065dd9671e57835817549b49b3b7fb8e2e245754.tar.gz scummvm-rg350-065dd9671e57835817549b49b3b7fb8e2e245754.tar.bz2 scummvm-rg350-065dd9671e57835817549b49b3b7fb8e2e245754.zip |
SDL: Fix compilation with SDL1.2
Diffstat (limited to 'backends/platform/sdl')
-rw-r--r-- | backends/platform/sdl/sdl-window.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/backends/platform/sdl/sdl-window.cpp b/backends/platform/sdl/sdl-window.cpp index 543320f3be..c48876a002 100644 --- a/backends/platform/sdl/sdl-window.cpp +++ b/backends/platform/sdl/sdl-window.cpp @@ -28,7 +28,9 @@ #include "icons/scummvm.xpm" +#if SDL_VERSION_ATLEAST(2, 0, 0) static const uint32 fullscreenMask = SDL_WINDOW_FULLSCREEN_DESKTOP | SDL_WINDOW_FULLSCREEN; +#endif SdlWindow::SdlWindow() #if SDL_VERSION_ATLEAST(2, 0, 0) |