[Scummvm-git-logs] scummvm master -> 562310f0b09acafbf8155414c129b718eee6e696
aquadran
noreply at scummvm.org
Wed Oct 23 06:22:16 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:
562310f0b0 WINTERMUTE: Updating view matrix is also needed for lights
Commit: 562310f0b09acafbf8155414c129b718eee6e696
https://github.com/scummvm/scummvm/commit/562310f0b09acafbf8155414c129b718eee6e696
Author: PaweÅ KoÅodziejski (aquadran at gmail.com)
Date: 2024-10-23T08:22:11+02:00
Commit Message:
WINTERMUTE: Updating view matrix is also needed for lights
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 541cc301615..400a55e6d26 100644
--- a/engines/wintermute/base/gfx/opengl/base_render_opengl3d.cpp
+++ b/engines/wintermute/base/gfx/opengl/base_render_opengl3d.cpp
@@ -379,6 +379,8 @@ bool BaseRenderOpenGL3D::setWorldTransform(const DXMatrix &transform) {
bool BaseRenderOpenGL3D::setViewTransform(const DXMatrix &transform) {
_viewMatrix = transform;
+ glMatrixMode(GL_MODELVIEW);
+ glLoadMatrixf(transform);
return true;
}
More information about the Scummvm-git-logs
mailing list