[iortcw] 67/89: All: Rend2: Remove redundant GL_State in RB_IterateStagesGeneric
Simon McVittie
smcv at debian.org
Fri Sep 8 10:44:30 UTC 2017
This is an automated email from the git hooks/post-receive script.
smcv pushed a commit to tag 1.51b
in repository iortcw.
commit 21799a0ad816293afbf7a22af64641596953f1bf
Author: MAN-AT-ARMS <M4N4T4RMS at gmail.com>
Date: Fri Jul 21 09:19:05 2017 -0400
All: Rend2: Remove redundant GL_State in RB_IterateStagesGeneric
---
MP/code/rend2/tr_shade.c | 1 -
SP/code/rend2/tr_shade.c | 1 -
2 files changed, 2 deletions(-)
diff --git a/MP/code/rend2/tr_shade.c b/MP/code/rend2/tr_shade.c
index 0c66ed3..424297e 100644
--- a/MP/code/rend2/tr_shade.c
+++ b/MP/code/rend2/tr_shade.c
@@ -1293,7 +1293,6 @@ static void RB_IterateStagesGeneric( shaderCommands_t *input )
GLSL_SetUniformFloat(sp, UNIFORM_FOGEYET, eyeT);
}
- GL_State( pStage->stateBits );
if ((pStage->stateBits & GLS_ATEST_BITS) == GLS_ATEST_GT_0)
{
GLSL_SetUniformInt(sp, UNIFORM_ALPHATEST, 1);
diff --git a/SP/code/rend2/tr_shade.c b/SP/code/rend2/tr_shade.c
index 12167d6..de5ff28 100644
--- a/SP/code/rend2/tr_shade.c
+++ b/SP/code/rend2/tr_shade.c
@@ -1287,7 +1287,6 @@ static void RB_IterateStagesGeneric( shaderCommands_t *input )
GLSL_SetUniformFloat(sp, UNIFORM_FOGEYET, eyeT);
}
- GL_State( pStage->stateBits );
if ((pStage->stateBits & GLS_ATEST_BITS) == GLS_ATEST_GT_0)
{
GLSL_SetUniformInt(sp, UNIFORM_ALPHATEST, 1);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/iortcw.git
More information about the Pkg-games-commits
mailing list