summaryrefslogtreecommitdiff
path: root/indra/llrender
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2012-01-30 15:48:44 -0500
committerOz Linden <oz@lindenlab.com>2012-01-30 15:48:44 -0500
commit1ed8faee81804af2f0640784191f1deadfa9f50c (patch)
tree1bbee24e0c0c388b1f0544145db8eff1588546f7 /indra/llrender
parent4ef9277761b5faee2825177112939b72c563a4ea (diff)
parent717a6f3306d9382ea252c3e0f243b785c9cae15a (diff)
merge changes for vmrg-219
Diffstat (limited to 'indra/llrender')
-rw-r--r--indra/llrender/llrender.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llrender/llrender.cpp b/indra/llrender/llrender.cpp
index cd827f5091..03a9884c2b 100644
--- a/indra/llrender/llrender.cpp
+++ b/indra/llrender/llrender.cpp
@@ -1434,6 +1434,8 @@ void LLRender::loadIdentity()
flush();
{
+ llassert_always(mMatrixMode < NUM_MATRIX_MODES) ;
+
mMatrix[mMatrixMode][mMatIdx[mMatrixMode]].make_identity();
mMatHash[mMatrixMode]++;
}