[Scummvm-git-logs] scummvm master -> 7c5c33a27eebd76ece1a06622055b9f630607a27
aquadran
noreply at scummvm.org
Sun Nov 3 18:21:02 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:
7c5c33a27e WINTERMUTE: Synced with original renderer about blend state flow in drawSpriteEx
Commit: 7c5c33a27eebd76ece1a06622055b9f630607a27
https://github.com/scummvm/scummvm/commit/7c5c33a27eebd76ece1a06622055b9f630607a27
Author: PaweÅ KoÅodziejski (aquadran at gmail.com)
Date: 2024-11-03T19:20:57+01:00
Commit Message:
WINTERMUTE: Synced with original renderer about blend state flow in drawSpriteEx
Changed paths:
engines/wintermute/base/gfx/opengl/base_render_opengl3d.cpp
engines/wintermute/base/gfx/opengl/base_render_opengl3d_shader.cpp
diff --git a/engines/wintermute/base/gfx/opengl/base_render_opengl3d.cpp b/engines/wintermute/base/gfx/opengl/base_render_opengl3d.cpp
index 109e092f97e..57a728073fc 100644
--- a/engines/wintermute/base/gfx/opengl/base_render_opengl3d.cpp
+++ b/engines/wintermute/base/gfx/opengl/base_render_opengl3d.cpp
@@ -402,7 +402,7 @@ bool BaseRenderOpenGL3D::drawSpriteEx(BaseSurface *tex, const Wintermute::Rect32
setSpriteBlendMode(blendMode);
if (alphaDisable) {
glDisable(GL_ALPHA_TEST);
- //glDisable(GL_BLEND);
+ glDisable(GL_BLEND);
}
if (_lastTexture != texture) {
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 1333ce66e11..5648d088bba 100644
--- a/engines/wintermute/base/gfx/opengl/base_render_opengl3d_shader.cpp
+++ b/engines/wintermute/base/gfx/opengl/base_render_opengl3d_shader.cpp
@@ -404,7 +404,7 @@ bool BaseRenderOpenGL3DShader::drawSpriteEx(BaseSurface *tex, const Wintermute::
} else {
setSpriteBlendMode(blendMode);
if (alphaDisable) {
- glDisable(GL_ALPHA_TEST);
+ glDisable(GL_BLEND);
}
if (_lastTexture != texture) {
More information about the Scummvm-git-logs
mailing list