[Scummvm-git-logs] scummvm master -> 764657ff71723789b85b3c7e29de2ffabc467d7e

aquadran noreply at scummvm.org
Tue May 20 19:24:34 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:
764657ff71 WINTERMUTE: Fixed regression with simple shadow rendering


Commit: 764657ff71723789b85b3c7e29de2ffabc467d7e
    https://github.com/scummvm/scummvm/commit/764657ff71723789b85b3c7e29de2ffabc467d7e
Author: Paweł Kołodziejski (aquadran at gmail.com)
Date: 2025-05-20T21:24:30+02:00

Commit Message:
WINTERMUTE: Fixed regression with simple shadow rendering

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


diff --git a/engines/wintermute/base/gfx/opengl/base_render_opengl3d.cpp b/engines/wintermute/base/gfx/opengl/base_render_opengl3d.cpp
index e7cadeca17c..aae2c18a203 100644
--- a/engines/wintermute/base/gfx/opengl/base_render_opengl3d.cpp
+++ b/engines/wintermute/base/gfx/opengl/base_render_opengl3d.cpp
@@ -657,6 +657,8 @@ void BaseRenderOpenGL3D::displaySimpleShadow(BaseObject *object) {
 	DXMatrixMultiply(&finalm, &finalm, &trans);
 	setWorldTransform(finalm);
 
+	glFrontFace(GL_CCW);
+
 	glDepthMask(GL_FALSE);
 	glEnable(GL_TEXTURE_2D);
 	static_cast<BaseSurfaceOpenGL3D *>(shadowImage)->setTexture();




More information about the Scummvm-git-logs mailing list