summaryrefslogtreecommitdiff
path: root/indra/llrender/llglslshader.cpp
diff options
context:
space:
mode:
authorGraham Linden <graham@lindenlab.com>2019-03-07 10:56:26 -0800
committerGraham Linden <graham@lindenlab.com>2019-03-07 10:56:26 -0800
commit423fa1ac297e39c9395f45490278b8751188b6db (patch)
tree35b1689b3121f59448e53d06ba22f7d4118df305 /indra/llrender/llglslshader.cpp
parentf488e5855a310d0db55baac758da5c2f8621d2ee (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.cpp5
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;