summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texstate.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>1999-09-07 22:31:30 +0000
committerBrian Paul <[email protected]>1999-09-07 22:31:30 +0000
commit45224face0d942094cc4426d2c84d441661a4c62 (patch)
treeecd5d005b5c97710c26471dae85b8a725c0f9334 /src/mesa/main/texstate.c
parent2ca99ca2e7dee551b8f1730dbae2513f99828cfc (diff)
removed TexCoordUnit from GLcontext, use Array.ActiveTexture instead
Diffstat (limited to 'src/mesa/main/texstate.c')
-rw-r--r--src/mesa/main/texstate.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/main/texstate.c b/src/mesa/main/texstate.c
index eee5eaa0e44..1b19a389cff 100644
--- a/src/mesa/main/texstate.c
+++ b/src/mesa/main/texstate.c
@@ -1,4 +1,4 @@
-/* $Id: texstate.c,v 1.1 1999/08/19 00:55:41 jtg Exp $ */
+/* $Id: texstate.c,v 1.2 1999/09/07 22:31:30 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -1039,7 +1039,6 @@ void gl_ActiveTexture( GLcontext *ctx, GLenum target )
if (target >= GL_TEXTURE0_ARB && target < GL_TEXTURE0_ARB + maxUnits) {
GLint texUnit = target - GL_TEXTURE0_ARB;
- ctx->TexCoordUnit = texUnit;
ctx->Texture.CurrentUnit = texUnit;
ctx->Texture.CurrentTransformUnit = texUnit;
if (ctx->Driver.ActiveTexture) {