[Scummvm-git-logs] scummvm master -> 29be4701f2e2332b838072ec5149dd2f614beee9

aquadran noreply at scummvm.org
Sat May 24 21:14:39 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:
29be4701f2 WINTERMUTE: Fixed missing postfilter to off state by default


Commit: 29be4701f2e2332b838072ec5149dd2f614beee9
    https://github.com/scummvm/scummvm/commit/29be4701f2e2332b838072ec5149dd2f614beee9
Author: Paweł Kołodziejski (aquadran at gmail.com)
Date: 2025-05-24T23:14:34+02:00

Commit Message:
WINTERMUTE: Fixed missing postfilter to off state by default

Changed paths:
    engines/wintermute/base/gfx/opengl/base_render_opengl3d.cpp
    engines/wintermute/base/gfx/opengl/base_render_opengl3d_shader.cpp


diff --git a/engines/wintermute/base/gfx/opengl/base_render_opengl3d.cpp b/engines/wintermute/base/gfx/opengl/base_render_opengl3d.cpp
index 82d36156ee8..fdd2a8f2812 100644
--- a/engines/wintermute/base/gfx/opengl/base_render_opengl3d.cpp
+++ b/engines/wintermute/base/gfx/opengl/base_render_opengl3d.cpp
@@ -115,6 +115,8 @@ bool BaseRenderOpenGL3D::initRenderer(int width, int height, bool windowed) {
 
 	setProjection();
 
+	_postFilterMode = kPostFilterOff;
+
 	_active = true;
 
 	return true;
diff --git a/engines/wintermute/base/gfx/opengl/base_render_opengl3d_shader.cpp b/engines/wintermute/base/gfx/opengl/base_render_opengl3d_shader.cpp
index 0064a029b43..cf02d430a46 100644
--- a/engines/wintermute/base/gfx/opengl/base_render_opengl3d_shader.cpp
+++ b/engines/wintermute/base/gfx/opengl/base_render_opengl3d_shader.cpp
@@ -199,6 +199,8 @@ bool BaseRenderOpenGL3DShader::initRenderer(int width, int height, bool windowed
 
 	setProjection();
 
+	_postFilterMode = kPostFilterOff;
+
 	_active = true;
 
 	return true;




More information about the Scummvm-git-logs mailing list