summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texenv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main/texenv.c')
-rw-r--r--src/mesa/main/texenv.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/main/texenv.c b/src/mesa/main/texenv.c
index 2cf322d1e1a..1aa0d6c410a 100644
--- a/src/mesa/main/texenv.c
+++ b/src/mesa/main/texenv.c
@@ -467,12 +467,10 @@ _mesa_TexEnvfv( GLenum target, GLenum pname, const GLfloat *param )
if (ctx->Point.CoordReplaceBits & (1u << ctx->Texture.CurrentUnit))
return;
ctx->Point.CoordReplaceBits |= (1u << ctx->Texture.CurrentUnit);
- ctx->Point.CoordReplace[ctx->Texture.CurrentUnit] = GL_TRUE;
} else if (iparam0 == GL_FALSE) {
if (~(ctx->Point.CoordReplaceBits) & (1u << ctx->Texture.CurrentUnit))
return;
ctx->Point.CoordReplaceBits &= ~(1u << ctx->Texture.CurrentUnit);
- ctx->Point.CoordReplace[ctx->Texture.CurrentUnit] = GL_FALSE;
} else {
_mesa_error( ctx, GL_INVALID_VALUE, "glTexEnv(param=0x%x)", iparam0);
return;