diff options
author | Dave Parks <davep@lindenlab.com> | 2022-12-13 11:40:14 -0600 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2022-12-13 11:40:14 -0600 |
commit | 20c578b7ae512e7c8128eb78f9dc4080fd556a91 (patch) | |
tree | 59a3a9b2b26506e79edcf51026053d63ed0546e8 /indra/newview/lldrawpoolalpha.cpp | |
parent | fe37ea5b3f6e5d0b222441496105072a276e2926 (diff) |
SL-18808 Fix for highlight transparent texture missing.
Diffstat (limited to 'indra/newview/lldrawpoolalpha.cpp')
-rw-r--r-- | indra/newview/lldrawpoolalpha.cpp | 3 |
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); |