summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-05-20 08:14:45 -0600
committerBrian Paul <brianp@vmware.com>2009-06-17 11:30:03 -0600
commit3b4017c7a04c1b307ac15935bfc524f2e1359067 (patch)
tree56bcd5f0f183c055b32eff432d41204e8d21f98a /src
parent3dd37884905235ba195652b162f8980e4ddd0faa (diff)
mesa: remove texUnit->_Current = NULL assignment
A follow-on to commit 46a2aad2cfec0ae54bc1a3ba5aacf6f59065d64b which fixes a texture object memory leak. See bug 21756.
Diffstat (limited to 'src')
-rw-r--r--src/mesa/main/texstate.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/main/texstate.c b/src/mesa/main/texstate.c
index efff0654669..71851e1b7b2 100644
--- a/src/mesa/main/texstate.c
+++ b/src/mesa/main/texstate.c
@@ -485,7 +485,6 @@ update_texture_state( GLcontext *ctx )
GLbitfield enableBits;
GLuint tex;
- texUnit->_Current = NULL;
texUnit->_ReallyEnabled = 0;
texUnit->_GenFlags = 0;