summaryrefslogtreecommitdiff
path: root/indra/llrender/llrender.cpp
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2012-02-02 10:57:09 -0500
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2012-02-02 10:57:09 -0500
commitb9376ab990707aafb041ef630d321b886bed6128 (patch)
tree75cb218be1507c60d79ed543a13ca6bcae1d6e54 /indra/llrender/llrender.cpp
parentb0d94fa706efd7794b4ba5b9160ddcfc33233ca4 (diff)
parent0e609cc95b08c28bd51f5ab48160fd93df7a6b28 (diff)
merge
Diffstat (limited to 'indra/llrender/llrender.cpp')
-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]++;
}