diff options
| author | Dave Parks <davep@lindenlab.com> | 2021-10-15 01:01:51 +0000 |
|---|---|---|
| committer | Dave Parks <davep@lindenlab.com> | 2021-10-15 01:01:51 +0000 |
| commit | 02f813d17bcf4592f6425e207e9fe487275b9354 (patch) | |
| tree | f1098b331df2ec42db671b5491f54d7bcbd74059 /indra/llrender/llglslshader.cpp | |
| parent | 851767b808c3cb05d718538389ccc1ed3c95d1a1 (diff) | |
| parent | 08c767d231a9ed96fc8755a3426f992cb23a63b5 (diff) | |
SL-16166 Optimization pass on render pipe inner loops
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; |
