[Scummvm-git-logs] scummvm master -> f52a2004eaf91da1a7ce06ac7864f3f2371ec12b
digitall
noreply at scummvm.org
Tue Jul 1 20:17:46 UTC 2025
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .
Summary:
f52a2004ea BACKENDS: OPENGL: Fix Uninitialized Variable
Commit: f52a2004eaf91da1a7ce06ac7864f3f2371ec12b
https://github.com/scummvm/scummvm/commit/f52a2004eaf91da1a7ce06ac7864f3f2371ec12b
Author: D G Turner (digitall at scummvm.org)
Date: 2025-07-01T21:15:58+01:00
Commit Message:
BACKENDS: OPENGL: Fix Uninitialized Variable
Common::RotationMode is an enum, not a class so needs to be set by
constructor. This was detected using Valgrind.
Changed paths:
backends/graphics/opengl/pipelines/libretro.cpp
diff --git a/backends/graphics/opengl/pipelines/libretro.cpp b/backends/graphics/opengl/pipelines/libretro.cpp
index a5d4fd53dbc..7bd57885d51 100644
--- a/backends/graphics/opengl/pipelines/libretro.cpp
+++ b/backends/graphics/opengl/pipelines/libretro.cpp
@@ -268,7 +268,7 @@ protected:
LibRetroPipeline::LibRetroPipeline()
: _inputPipeline(ShaderMan.query(ShaderManager::kDefault)),
_outputPipeline(ShaderMan.query(ShaderManager::kDefault)),
- _needsScaling(false), _shaderPreset(nullptr), _linearFiltering(false),
+ _needsScaling(false), _shaderPreset(nullptr), _linearFiltering(false), _rotation(Common::kRotationNormal),
_currentTarget(uint(-1)), _inputWidth(0), _inputHeight(0),
_isAnimated(false), _frameCount(0) {
}
More information about the Scummvm-git-logs
mailing list