summaryrefslogtreecommitdiff
path: root/indra/llrender/llimagegl.cpp
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2011-05-19 20:42:56 -0500
committerDave Parks <davep@lindenlab.com>2011-05-19 20:42:56 -0500
commitfd574e34857accd55e736d855975767fd7768b79 (patch)
treedab0a3f4ab660d757c9d25ee4a37a482c3b036a2 /indra/llrender/llimagegl.cpp
parent19a06478d9863c451450b7c9e2f931ba587a3cec (diff)
parent51bb3c15c8ac6c85ed1a7e8526ba6b60794ac29e (diff)
merge
Diffstat (limited to 'indra/llrender/llimagegl.cpp')
-rw-r--r--indra/llrender/llimagegl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llrender/llimagegl.cpp b/indra/llrender/llimagegl.cpp
index d408077c68..30b66ae542 100644
--- a/indra/llrender/llimagegl.cpp
+++ b/indra/llrender/llimagegl.cpp
@@ -1417,7 +1417,7 @@ void LLImageGL::deleteDeadTextures()
{
if (sCurrentBoundTextures[i] == tex)
{
- gGL.getTexUnit(i)->unbind(LLTexUnit::TT_TEXTURE);
+ gGL.getTexUnit(i)->unbind(gGL.getTexUnit(i)->getCurrType());
stop_glerror();
}
}