[Scummvm-git-logs] scummvm master -> c353f6566f3212bec759315184d1569d58bae067

aquadran noreply at scummvm.org
Mon Nov 4 09:14:27 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:
c353f6566f WINTERMUTE: Minor renderers sync


Commit: c353f6566f3212bec759315184d1569d58bae067
    https://github.com/scummvm/scummvm/commit/c353f6566f3212bec759315184d1569d58bae067
Author: Paweł Kołodziejski (aquadran at gmail.com)
Date: 2024-11-04T10:14:22+01:00

Commit Message:
WINTERMUTE: Minor renderers sync

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 f0c5e3cd983..84dbafb9999 100644
--- a/engines/wintermute/base/gfx/opengl/base_render_opengl3d_shader.cpp
+++ b/engines/wintermute/base/gfx/opengl/base_render_opengl3d_shader.cpp
@@ -659,13 +659,8 @@ void BaseRenderOpenGL3DShader::displayShadow(BaseObject *object, const DXVector3
 	return;
 }
 
-bool BaseRenderOpenGL3DShader::stencilSupported() {
-	// assume that we have a stencil buffer
-	return true;
-}
 
 void BaseRenderOpenGL3DShader::setSpriteBlendMode(Graphics::TSpriteBlendMode blendMode, bool forceChange) {
-
 	if (blendMode == _blendMode && !forceChange)
 		return;
 
@@ -689,6 +684,11 @@ void BaseRenderOpenGL3DShader::setSpriteBlendMode(Graphics::TSpriteBlendMode ble
 	}
 }
 
+bool BaseRenderOpenGL3D::stencilSupported() {
+	// assume that we have a stencil buffer
+	return true;
+}
+
 int BaseRenderOpenGL3DShader::getMaxActiveLights() {
 	return 8;
 }




More information about the Scummvm-git-logs mailing list