aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/lldrawpoolalpha.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/lldrawpoolalpha.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/linden/indra/newview/lldrawpoolalpha.cpp b/linden/indra/newview/lldrawpoolalpha.cpp
index 7e470bd..4b552ac 100644
--- a/linden/indra/newview/lldrawpoolalpha.cpp
+++ b/linden/indra/newview/lldrawpoolalpha.cpp
@@ -219,7 +219,7 @@ void LLDrawPoolAlpha::render(S32 pass)
219 gPipeline.enableLightsFullbright(LLColor4(1,1,1,1)); 219 gPipeline.enableLightsFullbright(LLColor4(1,1,1,1));
220 glColor4f(1,0,0,1); 220 glColor4f(1,0,0,1);
221 LLViewerImage::sSmokeImagep->addTextureStats(1024.f*1024.f); 221 LLViewerImage::sSmokeImagep->addTextureStats(1024.f*1024.f);
222 gGL.getTexUnit(0)->bind(LLViewerImage::sSmokeImagep.get()); 222 gGL.getTexUnit(0)->bind(LLViewerImage::sSmokeImagep.get(), TRUE);
223 renderAlphaHighlight(LLVertexBuffer::MAP_VERTEX | 223 renderAlphaHighlight(LLVertexBuffer::MAP_VERTEX |
224 LLVertexBuffer::MAP_TEXCOORD0); 224 LLVertexBuffer::MAP_TEXCOORD0);
225 } 225 }
@@ -295,7 +295,7 @@ void LLDrawPoolAlpha::renderAlpha(U32 mask)
295 { 295 {
296 gGL.getTexUnit(0)->activate(); 296 gGL.getTexUnit(0)->activate();
297 gGL.getTexUnit(0)->bind(params.mTexture.get()); 297 gGL.getTexUnit(0)->bind(params.mTexture.get());
298 params.mTexture->addTextureStats(params.mVSize); 298
299 if (params.mTextureMatrix) 299 if (params.mTextureMatrix)
300 { 300 {
301 glMatrixMode(GL_TEXTURE); 301 glMatrixMode(GL_TEXTURE);