[Scummvm-git-logs] scummvm master -> 4b6baf8f788518ddea966949418bb278b75a6871
aquadran
noreply at scummvm.org
Thu Jul 23 20:33:05 UTC 2026
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:
4b6baf8f78 WINTERMUTE: Partial revert: "Remove not needed color step in shadow volume"
Commit: 4b6baf8f788518ddea966949418bb278b75a6871
https://github.com/scummvm/scummvm/commit/4b6baf8f788518ddea966949418bb278b75a6871
Author: PaweÅ KoÅodziejski (aquadran at gmail.com)
Date: 2026-07-23T22:32:53+02:00
Commit Message:
WINTERMUTE: Partial revert: "Remove not needed color step in shadow volume"
This reverts commit 505785fa3c3ad031ae82587e6581e23b6ac173e5.
It fixes shadow volume in classic open renderer
Changed paths:
engines/wintermute/base/gfx/opengl/shadow_volume_opengl.cpp
diff --git a/engines/wintermute/base/gfx/opengl/shadow_volume_opengl.cpp b/engines/wintermute/base/gfx/opengl/shadow_volume_opengl.cpp
index 8f804ab2b4f..66f79dcd997 100644
--- a/engines/wintermute/base/gfx/opengl/shadow_volume_opengl.cpp
+++ b/engines/wintermute/base/gfx/opengl/shadow_volume_opengl.cpp
@@ -51,6 +51,7 @@ bool ShadowVolumeOpenGL::render() {
glDisable(GL_TEXTURE_2D);
_game->_renderer3D->_lastTexture = nullptr;
+ glColor4f(1.0f, 1.0f, 1.0f, 1.0f);
glEnableClientState(GL_VERTEX_ARRAY);
glVertexPointer(3, GL_FLOAT, 0, _vertices.getData());
glDrawArrays(GL_TRIANGLES, 0, _vertices.getSize());
More information about the Scummvm-git-logs
mailing list