diff options
author | Runitai Linden <davep@lindenlab.com> | 2021-10-22 16:56:20 -0500 |
---|---|---|
committer | Runitai Linden <davep@lindenlab.com> | 2021-10-22 16:56:20 -0500 |
commit | 3efd4c50a031ce0c1cb3d2fcc43e403136277e1f (patch) | |
tree | cf9377f44064e6238783260b042c5a072f42c626 /indra/newview | |
parent | 5553d614211998b5a10529f6b3ec68d2b25dc07a (diff) |
SL-16222 Don't use bindFast for legacy bump maps (weird loading path sometimes has stale texture state).
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/lldrawpoolbump.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/lldrawpoolbump.cpp b/indra/newview/lldrawpoolbump.cpp index d75884cc16..b08fbcbd89 100644 --- a/indra/newview/lldrawpoolbump.cpp +++ b/indra/newview/lldrawpoolbump.cpp @@ -715,7 +715,8 @@ BOOL LLDrawPoolBump::bindBumpMap(U8 bump_code, LLViewerTexture* texture, F32 vsi } else { - gGL.getTexUnit(channel)->bindFast(bump); + // NOTE: do not use bindFast here (see SL-16222) + gGL.getTexUnit(channel)->bind(bump); } return TRUE; |