[Scummvm-git-logs] scummvm master -> c419090c1fe7b12bd9575662b7f70a5a641cf38c
neuromancer
noreply at scummvm.org
Wed Aug 9 17:25:14 UTC 2023
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:
c419090c1f FREESCAPE: removed useless gl calls in the shader renderer
Commit: c419090c1fe7b12bd9575662b7f70a5a641cf38c
https://github.com/scummvm/scummvm/commit/c419090c1fe7b12bd9575662b7f70a5a641cf38c
Author: neuromancer (gustavo.grieco at gmail.com)
Date: 2023-08-09T19:27:08+02:00
Commit Message:
FREESCAPE: removed useless gl calls in the shader renderer
Changed paths:
engines/freescape/gfx_opengl_shaders.cpp
diff --git a/engines/freescape/gfx_opengl_shaders.cpp b/engines/freescape/gfx_opengl_shaders.cpp
index d69e86e0e0d..89db9762851 100644
--- a/engines/freescape/gfx_opengl_shaders.cpp
+++ b/engines/freescape/gfx_opengl_shaders.cpp
@@ -253,11 +253,6 @@ void OpenGLShaderRenderer::renderCrossair(const Common::Point crossairPosition)
_triangleShader->setUniform("useStipple", false);
_triangleShader->setUniform("mvpMatrix", identity);
- glMatrixMode(GL_PROJECTION);
- glLoadIdentity();
- glOrtho(0, _screenW, _screenH, 0, 0, 1);
- glMatrixMode(GL_MODELVIEW);
- glLoadIdentity();
glEnable(GL_BLEND);
glBlendFunc(GL_ONE_MINUS_DST_COLOR, GL_ZERO);
More information about the Scummvm-git-logs
mailing list