[Scummvm-git-logs] scummvm master -> 2d1ca55ffbaf788917e512c840707c2fcb9a9af6
lephilousophe
noreply at scummvm.org
Sun Jun 25 13:14:26 UTC 2023
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:
2d1ca55ffb BACKENDS: OPENGL: Don't depend on USE_ASPECT
Commit: 2d1ca55ffbaf788917e512c840707c2fcb9a9af6
https://github.com/scummvm/scummvm/commit/2d1ca55ffbaf788917e512c840707c2fcb9a9af6
Author: Le Philousophe (lephilousophe at users.noreply.github.com)
Date: 2023-06-25T15:14:13+02:00
Commit Message:
BACKENDS: OPENGL: Don't depend on USE_ASPECT
USE_ASPECT disables software aspect ratio correction.
In OpenGL it's done by GPU.
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 72686a2c0e5..7e4177ce221 100644
--- a/backends/graphics/opengl/opengl-graphics.cpp
+++ b/backends/graphics/opengl/opengl-graphics.cpp
@@ -109,9 +109,7 @@ OpenGLGraphicsManager::~OpenGLGraphicsManager() {
bool OpenGLGraphicsManager::hasFeature(OSystem::Feature f) const {
switch (f) {
-#ifdef USE_ASPECT
case OSystem::kFeatureAspectRatioCorrection:
-#endif
case OSystem::kFeatureCursorPalette:
case OSystem::kFeatureFilteringMode:
case OSystem::kFeatureStretchMode:
More information about the Scummvm-git-logs
mailing list