[Scummvm-git-logs] scummvm master -> 184b72e381e4a382c19e062fc84adb7f10c2dc4d

aquadran noreply at scummvm.org
Sun Oct 20 13:16:10 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:
184b72e381 WINTERMUTE: Fixed regression shadow drawing in renderer


Commit: 184b72e381e4a382c19e062fc84adb7f10c2dc4d
    https://github.com/scummvm/scummvm/commit/184b72e381e4a382c19e062fc84adb7f10c2dc4d
Author: Paweł Kołodziejski (aquadran at gmail.com)
Date: 2024-10-20T15:16:05+02:00

Commit Message:
WINTERMUTE: Fixed regression shadow drawing in renderer

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 36e74a2648f..0501b482905 100644
--- a/engines/wintermute/base/gfx/opengl/base_render_opengl3d.cpp
+++ b/engines/wintermute/base/gfx/opengl/base_render_opengl3d.cpp
@@ -189,6 +189,7 @@ void BaseRenderOpenGL3D::displayShadow(BaseObject *object, const DXVector3 *ligh
 
 	DXMatrix translation;
 	DXMatrixTranslation(&translation, object->_posVector._x, object->_posVector._y, object->_posVector._z);
+	DXMatrixTranspose(&translation, &translation);
 
 	DXMatrix worldTransformation = translation * rotation * scale;
 	DXMatrixTranspose(&worldTransformation, &worldTransformation);




More information about the Scummvm-git-logs mailing list