aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/lldrawpoolalpha.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/lldrawpoolalpha.cpp')
-rw-r--r--linden/indra/newview/lldrawpoolalpha.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/linden/indra/newview/lldrawpoolalpha.cpp b/linden/indra/newview/lldrawpoolalpha.cpp
index ca8f3b4..efe774f 100644
--- a/linden/indra/newview/lldrawpoolalpha.cpp
+++ b/linden/indra/newview/lldrawpoolalpha.cpp
@@ -230,6 +230,7 @@ void LLDrawPoolAlpha::renderGroupAlpha(LLSpatialGroup* group, U32 type, U32 mask
230 230
231 if (texture && params.mTexture.notNull()) 231 if (texture && params.mTexture.notNull())
232 { 232 {
233 llassert_always(gGL.getTexUnit(0)) ;
233 gGL.getTexUnit(0)->activate(); 234 gGL.getTexUnit(0)->activate();
234 params.mTexture->bind(); 235 params.mTexture->bind();
235 params.mTexture->addTextureStats(params.mVSize); 236 params.mTexture->addTextureStats(params.mVSize);