[Scummvm-git-logs] scummvm master -> 8af0b8baa501ad84b12d3d679d5fcc0a1146b36a
sev-
sev at scummvm.org
Wed Apr 14 18:34:02 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:
8af0b8baa5 OPENGL: Fix aspect ratio bug when switching render
Commit: 8af0b8baa501ad84b12d3d679d5fcc0a1146b36a
https://github.com/scummvm/scummvm/commit/8af0b8baa501ad84b12d3d679d5fcc0a1146b36a
Author: lamebanana (f.ginevra98 at gmail.com)
Date: 2021-04-14T20:33:59+02:00
Commit Message:
OPENGL: Fix aspect ratio bug when switching render
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 1a4cda13f6..086375cd07 100644
--- a/backends/graphics/opengl/opengl-graphics.cpp
+++ b/backends/graphics/opengl/opengl-graphics.cpp
@@ -1221,7 +1221,7 @@ bool OpenGLGraphicsManager::getGLPixelFormat(const Graphics::PixelFormat &pixelF
}
bool OpenGLGraphicsManager::gameNeedsAspectRatioCorrection() const {
- if (_currentState.aspectRatioCorrection) {
+ if (ConfMan.getBool("aspect_ratio")) {
const uint width = getWidth();
const uint height = getHeight();
More information about the Scummvm-git-logs
mailing list