summaryrefslogtreecommitdiff
path: root/indra/llrender/llrender.cpp
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2012-02-06 15:08:41 -0500
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2012-02-06 15:08:41 -0500
commit344c46a20c8055daada15d70bf2dbd2cd5555be8 (patch)
treed7ff514786aa3b1347ad768a64b68bfd08e99f90 /indra/llrender/llrender.cpp
parent127f6d14050bd1d10b3a4b4b8a4c315da43e9f92 (diff)
parent289d756ea86bd3898f41592146d8f549cd056846 (diff)
merge, conflicts in llvertexbuffer.{h,cpp}
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 f26764cc42..b0ddacbb05 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]++;
}