[Scummvm-git-logs] scummvm master -> 1cdf50ce75365da989266e8712b60731e4e0c03e

ccawley2011 ccawley2011 at gmail.com
Mon Aug 3 00:17:16 UTC 2020


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:
1cdf50ce75 GP2XWIZ: Fix compilation with older SDL versions


Commit: 1cdf50ce75365da989266e8712b60731e4e0c03e
    https://github.com/scummvm/scummvm/commit/1cdf50ce75365da989266e8712b60731e4e0c03e
Author: Cameron Cawley (ccawley2011 at gmail.com)
Date: 2020-08-03T01:17:13+01:00

Commit Message:
GP2XWIZ: Fix compilation with older SDL versions

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 485ad162f3..4ee8ae23da 100644
--- a/backends/platform/sdl/sdl-window.cpp
+++ b/backends/platform/sdl/sdl-window.cpp
@@ -40,7 +40,7 @@ SdlWindow::SdlWindow()
 	{
 
 #if SDL_VERSION_ATLEAST(2, 0, 0)
-#elif SDL_VERSION_ATLEAST(1, 2, 13)
+#elif SDL_VERSION_ATLEAST(1, 2, 10)
 	// Query the desktop resolution. We simply hope nothing tried to change
 	// the resolution so far.
 	const SDL_VideoInfo *videoInfo = SDL_GetVideoInfo();




More information about the Scummvm-git-logs mailing list