summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRye <rye@alchemyviewer.org>2025-10-26 02:55:18 -0400
committerRye <rye@alchemyviewer.org>2025-10-27 04:59:16 -0400
commit0136a9507750c017fe3dc7e059e418caa20376e9 (patch)
tree678c6f81c325c04069fd43a4a13fff11485e8c7a
parent92979d80fcfea02961c98562920d3f0123e77ffc (diff)
Fix broken mvp modelview hash check in syncMatrices
Signed-off-by: Rye <rye@alchemyviewer.org>
-rw-r--r--indra/llrender/llrender.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llrender/llrender.cpp b/indra/llrender/llrender.cpp
index 792d5346b0..010fd1da84 100644
--- a/indra/llrender/llrender.cpp
+++ b/indra/llrender/llrender.cpp
@@ -1089,7 +1089,7 @@ void LLRender::syncMatrices()
S32 loc = shader->getUniformLocation(LLShaderMgr::MODELVIEW_PROJECTION_MATRIX);
if (loc > -1)
{
- if (cached_mvp_mdv_hash != mMatHash[MM_PROJECTION] || cached_mvp_proj_hash != mMatHash[MM_PROJECTION])
+ if (cached_mvp_mdv_hash != mMatHash[MM_MODELVIEW] || cached_mvp_proj_hash != mMatHash[MM_PROJECTION])
{
U32 mdv = MM_MODELVIEW;
cached_mvp = mat;