summaryrefslogtreecommitdiff
path: root/indra/llrender/llshadermgr.cpp
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2014-11-26 11:40:32 -0500
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2014-11-26 11:40:32 -0500
commite345cfbe55f8a530432780b03ff78b4edae6e036 (patch)
tree7b1f14c30834f14cc1bff9e3f9da101f39135b33 /indra/llrender/llshadermgr.cpp
parentc7c549b7e24af3b9ee87d464a03adeab75ee6553 (diff)
parent2301cf800f40101baed7a5936683d0b1e4968be1 (diff)
merge
Diffstat (limited to 'indra/llrender/llshadermgr.cpp')
-rwxr-xr-xindra/llrender/llshadermgr.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/llrender/llshadermgr.cpp b/indra/llrender/llshadermgr.cpp
index 95a2c8b589..a89ec675b4 100755
--- a/indra/llrender/llshadermgr.cpp
+++ b/indra/llrender/llshadermgr.cpp
@@ -73,7 +73,11 @@ BOOL LLShaderMgr::attachShaderFeatures(LLGLSLShader * shader)
{
llassert_always(shader != NULL);
LLShaderFeatures *features = & shader->mFeatures;
-
+
+ if (features->attachNothing)
+ {
+ return TRUE;
+ }
//////////////////////////////////////
// Attach Vertex Shader Features First
//////////////////////////////////////