[Scummvm-git-logs] scummvm master -> 125fe7162d93024d056f20161b6d2b62cbc60099
ccawley2011
ccawley2011 at gmail.com
Tue Apr 13 16:18:43 UTC 2021
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:
125fe7162d SDL: Fix compilation with SDL 2.0.3
Commit: 125fe7162d93024d056f20161b6d2b62cbc60099
https://github.com/scummvm/scummvm/commit/125fe7162d93024d056f20161b6d2b62cbc60099
Author: Cameron Cawley (ccawley2011 at gmail.com)
Date: 2021-04-13T17:18:29+01:00
Commit Message:
SDL: Fix compilation with SDL 2.0.3
Changed paths:
backends/graphics/sdl/sdl-graphics.h
diff --git a/backends/graphics/sdl/sdl-graphics.h b/backends/graphics/sdl/sdl-graphics.h
index 4059afc564..df6bc8eb86 100644
--- a/backends/graphics/sdl/sdl-graphics.h
+++ b/backends/graphics/sdl/sdl-graphics.h
@@ -199,7 +199,7 @@ protected:
#endif
if (defaultDpi)
*defaultDpi = systemDpi;
-#if SDL_VERSION_ATLEAST(2, 0, 0)
+#if SDL_VERSION_ATLEAST(2, 0, 4)
int displayIndex = 0;
getWindowDisplayIndexFromSdl(&displayIndex);
More information about the Scummvm-git-logs
mailing list