[Scummvm-git-logs] scummvm master -> 33744c1d582b2015fd4cd39ddce04065943485e3

aquadran noreply at scummvm.org
Tue Oct 22 16:47:32 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:
33744c1d58 WINTERMUTE: Init _flatShadowMaskShader in constructor


Commit: 33744c1d582b2015fd4cd39ddce04065943485e3
    https://github.com/scummvm/scummvm/commit/33744c1d582b2015fd4cd39ddce04065943485e3
Author: Paweł Kołodziejski (aquadran at gmail.com)
Date: 2024-10-22T18:47:27+02:00

Commit Message:
WINTERMUTE: Init _flatShadowMaskShader in constructor

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 1d614aae5c1..c11d64e23b9 100644
--- a/engines/wintermute/base/gfx/opengl/base_render_opengl3d_shader.cpp
+++ b/engines/wintermute/base/gfx/opengl/base_render_opengl3d_shader.cpp
@@ -58,6 +58,7 @@ struct SpriteVertexShader {
 };
 
 BaseRenderOpenGL3DShader::BaseRenderOpenGL3DShader(BaseGame *inGame) : BaseRenderer3D(inGame) {
+	_flatShadowMaskShader = nullptr;
 }
 
 BaseRenderOpenGL3DShader::~BaseRenderOpenGL3DShader() {




More information about the Scummvm-git-logs mailing list