diff options
author | Dave Parks <davep@lindenlab.com> | 2011-09-25 00:20:12 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2011-09-25 00:20:12 -0500 |
commit | f6744182511d68ccc135174b1999d3e4ae260881 (patch) | |
tree | 44c8c92328222452efa1d8bb9533f40cd38d330b /indra/llrender/llrender.cpp | |
parent | e5d06b446459fd9f2afc077023f866dffd7c3c98 (diff) |
SH-2244 Fix for UI blanking out on shader reload (stale matrix hash cleanup)
Diffstat (limited to 'indra/llrender/llrender.cpp')
-rw-r--r-- | indra/llrender/llrender.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/indra/llrender/llrender.cpp b/indra/llrender/llrender.cpp index 13e7c6094c..613d159901 100644 --- a/indra/llrender/llrender.cpp +++ b/indra/llrender/llrender.cpp @@ -1039,7 +1039,6 @@ LLRender::LLRender() mMatIdx[i] = 0; mMatHash[i] = 0; mCurMatHash[i] = 0xFFFFFFFF; - mMatrix[i][0].make_identity(); } mLightHash = 0; @@ -1228,7 +1227,7 @@ void LLRender::syncMatrices() syncLightState(); } } - else + else if (!LLGLSLShader::sNoFixedFunction) { for (U32 i = 0; i < 2; ++i) { |