diff options
| author | Runitai Linden <davep@lindenlab.com> | 2021-10-14 13:02:40 -0500 |
|---|---|---|
| committer | Runitai Linden <davep@lindenlab.com> | 2021-10-14 13:02:40 -0500 |
| commit | e7227afe0249806ceb1c8eef2dd6ca909eb394d3 (patch) | |
| tree | 73f963dced3b069339f4d02f80a8559e1d6b270b /indra/llrender/llglslshader.cpp | |
| parent | aa2169aa372492b3a5367997536fb6dfa89b74cf (diff) | |
SL-16166 Apply optimizations from pushBatch to other render call sites. Optimize out a map lookup in rigged face rendering.
Diffstat (limited to 'indra/llrender/llglslshader.cpp')
| -rw-r--r-- | indra/llrender/llglslshader.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llrender/llglslshader.cpp b/indra/llrender/llglslshader.cpp index 394fcd2b2f..84eac00c65 100644 --- a/indra/llrender/llglslshader.cpp +++ b/indra/llrender/llglslshader.cpp @@ -1017,7 +1017,7 @@ S32 LLGLSLShader::bindTexture(S32 uniform, LLTexture *texture, LLTexUnit::eTextu if (uniform > -1) { - gGL.getTexUnit(uniform)->bind(texture, mode); + gGL.getTexUnit(uniform)->bindFast(texture); gGL.getTexUnit(uniform)->setTextureColorSpace(colorspace); } @@ -1048,7 +1048,7 @@ S32 LLGLSLShader::unbindTexture(S32 uniform, LLTexUnit::eTextureType mode) if (uniform > -1) { - gGL.getTexUnit(uniform)->unbind(mode); + gGL.getTexUnit(uniform)->unbindFast(mode); } return uniform; |
