diff options
author | Graham Linden <graham@lindenlab.com> | 2019-03-07 10:56:26 -0800 |
---|---|---|
committer | Graham Linden <graham@lindenlab.com> | 2019-03-07 10:56:26 -0800 |
commit | 423fa1ac297e39c9395f45490278b8751188b6db (patch) | |
tree | 35b1689b3121f59448e53d06ba22f7d4118df305 /indra/llrender/llglslshader.cpp | |
parent | f488e5855a310d0db55baac758da5c2f8621d2ee (diff) |
SL-10618, SL-10698
Fix reflection/distortion map culling planes again.
Fix broken handling of shadow disables in ALM forward shaders.
Diffstat (limited to 'indra/llrender/llglslshader.cpp')
-rw-r--r-- | indra/llrender/llglslshader.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/llrender/llglslshader.cpp b/indra/llrender/llglslshader.cpp index 528f23b3ee..9a4eeb59df 100644 --- a/indra/llrender/llglslshader.cpp +++ b/indra/llrender/llglslshader.cpp @@ -695,6 +695,11 @@ void LLGLSLShader::mapUniform(GLint index, const vector<LLStaticHashedString> * } } +void LLGLSLShader::clearPermutations() +{ + mDefines.clear(); +} + void LLGLSLShader::addPermutation(std::string name, std::string value) { mDefines[name] = value; |