diff options
author | Dave Parks <davep@lindenlab.com> | 2014-03-19 17:57:00 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2014-03-19 17:57:00 -0500 |
commit | 24f8745914f7cec320d707f36895ac393575b861 (patch) | |
tree | 463c9838c4415feb0f0d5311df75aaff7d847a9e /indra/llrender/llshadermgr.cpp | |
parent | cb2bd577099f87881d467249cac679200bb367f0 (diff) |
MAINT-3131 Use benchmark to determine GPU class instead of GPU table.
Diffstat (limited to 'indra/llrender/llshadermgr.cpp')
-rwxr-xr-x | indra/llrender/llshadermgr.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/llrender/llshadermgr.cpp b/indra/llrender/llshadermgr.cpp index 6e04fc82df..b81ae9af09 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 ////////////////////////////////////// |