summaryrefslogtreecommitdiff
path: root/indra/llrender/llglslshader.cpp
diff options
context:
space:
mode:
authorRider Linden <rider@lindenlab.com>2019-03-07 15:26:41 -0800
committerRider Linden <rider@lindenlab.com>2019-03-07 15:26:41 -0800
commita237325ad64d0930340e2a6f82d4042797ed8e68 (patch)
tree3259746274acc6a0fc29f29a897271ea199d9381 /indra/llrender/llglslshader.cpp
parent8740c54fb074b8ab2349dc5a3317e1578de3d812 (diff)
parent2d8152afd9c6077b5eda8d139521a4e3c1328775 (diff)
Merge
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;