summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texenv.c
diff options
context:
space:
mode:
authorMathias Fröhlich <mathias.froehlich@web.de>2016-05-22 14:10:19 +0200
committerMathias Fröhlich <mathias.froehlich@web.de>2016-06-16 05:50:53 +0200
commit291f00fa12a35ad2bcaa8f81309fa06b9cab6802 (patch)
treebc4456dedc37df7ec2364d373d48889724054c3f /src/mesa/main/texenv.c
parentd19c69659ae5874b0c78afac5f4e634f7f0f5489 (diff)
downloadexternal_mesa3d-291f00fa12a35ad2bcaa8f81309fa06b9cab6802.zip
external_mesa3d-291f00fa12a35ad2bcaa8f81309fa06b9cab6802.tar.gz
external_mesa3d-291f00fa12a35ad2bcaa8f81309fa06b9cab6802.tar.bz2
mesa: Remove the now unused CoordsReplace array.
Now that all users are converted, remove the array. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Signed-off-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
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 2cf322d..1aa0d6c 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;