[Scummvm-git-logs] scummvm master -> 4284d9754f32c4276b97e5c0d4d8dfc7cf6d2f19
ccawley2011
ccawley2011 at gmail.com
Tue Oct 13 19:45:35 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:
4284d9754f OPENGL: Remove SDL specific code from OpenGLGraphicsManager
Commit: 4284d9754f32c4276b97e5c0d4d8dfc7cf6d2f19
https://github.com/scummvm/scummvm/commit/4284d9754f32c4276b97e5c0d4d8dfc7cf6d2f19
Author: Cameron Cawley (ccawley2011 at gmail.com)
Date: 2020-10-13T20:45:32+01:00
Commit Message:
OPENGL: Remove SDL specific code from OpenGLGraphicsManager
The "OSystem::kFeatureFullscreenToggleKeepsContext" feature is already handled in the OpenGLSdlGraphicsManager subclass.
Changed paths:
backends/graphics/opengl/opengl-graphics.cpp
diff --git a/backends/graphics/opengl/opengl-graphics.cpp b/backends/graphics/opengl/opengl-graphics.cpp
index d4063a2199..49ee47ab83 100644
--- a/backends/graphics/opengl/opengl-graphics.cpp
+++ b/backends/graphics/opengl/opengl-graphics.cpp
@@ -94,9 +94,6 @@ bool OpenGLGraphicsManager::hasFeature(OSystem::Feature f) const {
case OSystem::kFeatureAspectRatioCorrection:
case OSystem::kFeatureCursorPalette:
case OSystem::kFeatureFilteringMode:
-#if SDL_VERSION_ATLEAST(2, 0, 0)
- case OSystem::kFeatureFullscreenToggleKeepsContext:
-#endif
case OSystem::kFeatureStretchMode:
return true;
More information about the Scummvm-git-logs
mailing list