If this assert hits then I want your callstack, and so does Bao Linden. SH-2827

This commit is contained in:
Shyotl
2012-01-12 23:28:38 -06:00
parent 55a66737c0
commit 21b6b89577

View File

@@ -1446,6 +1446,8 @@ void LLRender::loadIdentity()
flush();
{
llassert_always(mMatrixMode < NUM_MATRIX_MODES) ;
mMatrix[mMatrixMode][mMatIdx[mMatrixMode]].make_identity();
mMatHash[mMatrixMode]++;
}