summaryrefslogtreecommitdiff
path: root/indra/llrender/llshadermgr.cpp
diff options
context:
space:
mode:
authormaksymsproductengine <maksymsproductengine@lindenlab.com>2014-11-11 02:32:39 +0200
committermaksymsproductengine <maksymsproductengine@lindenlab.com>2014-11-11 02:32:39 +0200
commitfa9097b65f9d89fd0c8bf7b32924f0327a617cdc (patch)
tree08a3eb3d997080527f093b56c5af2923855fbac3 /indra/llrender/llshadermgr.cpp
parenta669303f8528639b539a793c1dc2d8572beefe80 (diff)
parent2301cf800f40101baed7a5936683d0b1e4968be1 (diff)
Merge changes for 3.7.20-release
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
//////////////////////////////////////