[Scummvm-git-logs] scummvm master -> 2d67f70f3b240b5bcabe3cc49c2337ae4e9fcb17
aquadran
noreply at scummvm.org
Thu Oct 24 09:34:04 UTC 2024
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:
2d67f70f3b WINTERMUTE: Disable shadows also in enableShadows()
Commit: 2d67f70f3b240b5bcabe3cc49c2337ae4e9fcb17
https://github.com/scummvm/scummvm/commit/2d67f70f3b240b5bcabe3cc49c2337ae4e9fcb17
Author: PaweÅ KoÅodziejski (aquadran at gmail.com)
Date: 2024-10-24T11:33:58+02:00
Commit Message:
WINTERMUTE: Disable shadows also in enableShadows()
Changed paths:
engines/wintermute/base/gfx/opengl/base_render_opengl3d_shader.cpp
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 3e26528fdcf..7f848880e6b 100644
--- a/engines/wintermute/base/gfx/opengl/base_render_opengl3d_shader.cpp
+++ b/engines/wintermute/base/gfx/opengl/base_render_opengl3d_shader.cpp
@@ -178,6 +178,7 @@ void BaseRenderOpenGL3DShader::disableCulling() {
}
bool BaseRenderOpenGL3DShader::enableShadows() {
+ return true; // shadows are broken for a while since it use not allowed binding to frame buffer
if (_flatShadowMaskShader == nullptr) {
_flatShadowColor = Math::Vector4d(0.0f, 0.0f, 0.0f, 0.5f);
More information about the Scummvm-git-logs
mailing list