summaryrefslogtreecommitdiff
path: root/src/renderergl2/tr_shade.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/renderergl2/tr_shade.c')
-rw-r--r--src/renderergl2/tr_shade.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/renderergl2/tr_shade.c b/src/renderergl2/tr_shade.c
index f5778ea0..da293cb8 100644
--- a/src/renderergl2/tr_shade.c
+++ b/src/renderergl2/tr_shade.c
@@ -1352,16 +1352,6 @@ static void RB_IterateStagesGeneric( shaderCommands_t *input )
else if ( pStage->bundle[1].image[0] != 0 )
{
R_BindAnimatedImageToTMU( &pStage->bundle[0], 0 );
-
- //
- // lightmap/secondary pass
- //
- if ( r_lightmap->integer ) {
- GLSL_SetUniformInt(sp, UNIFORM_TEXTURE1ENV, GL_REPLACE);
- } else {
- GLSL_SetUniformInt(sp, UNIFORM_TEXTURE1ENV, tess.shader->multitextureEnv);
- }
-
R_BindAnimatedImageToTMU( &pStage->bundle[1], 1 );
}
else
@@ -1370,8 +1360,6 @@ static void RB_IterateStagesGeneric( shaderCommands_t *input )
// set state
//
R_BindAnimatedImageToTMU( &pStage->bundle[0], 0 );
-
- GLSL_SetUniformInt(sp, UNIFORM_TEXTURE1ENV, 0);
}
//