summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-05-20 08:14:45 -0600
committerBrian Paul <brianp@vmware.com>2009-05-20 08:14:45 -0600
commit35f5222ae0a16e0ac275110b6cbbbd13f74fd101 (patch)
tree957a3a5d8612d0579de8c5e43c63edcf64ed1a5b
parent1096a6c5796ce35d9fbea8f53f6c5678d358ec13 (diff)
mesa: remove texUnit->_Current = NULL assignment
A follow-on to commit 46a2aad2cfec0ae54bc1a3ba5aacf6f59065d64b which fixes a texture object memory leak. See bug 21756.
-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 efff065466..71851e1b7b 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;