Mesa (mesa_7_4_branch): mesa: remove texUnit->_Current = NULL assignment

Brian Paul brianp at kemper.freedesktop.org
Wed May 20 14:15:32 UTC 2009


Module: Mesa
Branch: mesa_7_4_branch
Commit: 35f5222ae0a16e0ac275110b6cbbbd13f74fd101
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=35f5222ae0a16e0ac275110b6cbbbd13f74fd101

Author: Brian Paul <brianp at vmware.com>
Date:   Wed May 20 08:14:45 2009 -0600

mesa: remove texUnit->_Current = NULL assignment

A follow-on to commit 46a2aad2cfec0ae54bc1a3ba5aacf6f59065d64b which
fixes a texture object memory leak.

See bug 21756.

---

 src/mesa/main/texstate.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/src/mesa/main/texstate.c b/src/mesa/main/texstate.c
index efff065..71851e1 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;
 




More information about the mesa-commit mailing list