summaryrefslogtreecommitdiff
path: root/indra/newview/lldrawpoolalpha.cpp
diff options
context:
space:
mode:
authorBrad Linden <brad@lindenlab.com>2022-12-13 11:39:54 -0800
committerBrad Linden <brad@lindenlab.com>2022-12-13 11:39:54 -0800
commita4397723b7ed1e5a8c86b104fd5a8b94da03abb9 (patch)
tree5c3a0a6ffb521306442f98cbda0ff05284f7a220 /indra/newview/lldrawpoolalpha.cpp
parent43c0dc7f15a013405ce8172e1fbd390c771a1967 (diff)
parent0c2e7a8eb70193b083a055dacbfde67239a8ff07 (diff)
Merge remote-tracking branch 'origin/DRTVWR-559' into brad/DRTVWR-559
Diffstat (limited to 'indra/newview/lldrawpoolalpha.cpp')
-rw-r--r--indra/newview/lldrawpoolalpha.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/indra/newview/lldrawpoolalpha.cpp b/indra/newview/lldrawpoolalpha.cpp
index c09de14b23..6e0913705d 100644
--- a/indra/newview/lldrawpoolalpha.cpp
+++ b/indra/newview/lldrawpoolalpha.cpp
@@ -315,8 +315,7 @@ void LLDrawPoolAlpha::renderDebugAlpha()
{
gHighlightProgram.bind();
gGL.diffuseColor4f(1, 0, 0, 1);
- LLViewerFetchedTexture::sSmokeImagep->addTextureStats(1024.f * 1024.f);
- gGL.getTexUnit(0)->bindFast(LLViewerFetchedTexture::sSmokeImagep);
+ gGL.getTexUnit(0)->bindFast(LLViewerFetchedTexture::getSmokeImage());
renderAlphaHighlight(LLVertexBuffer::MAP_VERTEX |
LLVertexBuffer::MAP_TEXCOORD0);