[Scummvm-git-logs] scummvm master -> 065dd9671e57835817549b49b3b7fb8e2e245754

csnover csnover at users.noreply.github.com
Fri Jul 7 02:27:59 CEST 2017


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
065dd9671e SDL: Fix compilation with SDL1.2


Commit: 065dd9671e57835817549b49b3b7fb8e2e245754
    https://github.com/scummvm/scummvm/commit/065dd9671e57835817549b49b3b7fb8e2e245754
Author: Colin Snover (github.com at zetafleet.com)
Date: 2017-07-06T19:27:52-05:00

Commit Message:
SDL: Fix compilation with SDL1.2

Changed paths:
    backends/platform/sdl/sdl-window.cpp


diff --git a/backends/platform/sdl/sdl-window.cpp b/backends/platform/sdl/sdl-window.cpp
index 543320f..c48876a 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)





More information about the Scummvm-git-logs mailing list