diff options
| author | Todd Stinson <stinson@lindenlab.com> | 2012-08-09 17:04:00 -0700 |
|---|---|---|
| committer | Todd Stinson <stinson@lindenlab.com> | 2012-08-09 17:04:00 -0700 |
| commit | 268d5bd4bd4c9311053808b1f7aa74a85aa038a5 (patch) | |
| tree | e777c21cf2a9e1d2a115c96bff080ebe2d0edb31 /indra/newview/lldrawpool.cpp | |
| parent | ce417a01c9a5cb0befc68533734d98023a03b96e (diff) | |
| parent | 337976096530729a7d671df68907cd59a7986972 (diff) | |
Pull and merge from ssh://hg@bitbucket.org/lindenlab/viewer-development.
Diffstat (limited to 'indra/newview/lldrawpool.cpp')
| -rw-r--r-- | indra/newview/lldrawpool.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/lldrawpool.cpp b/indra/newview/lldrawpool.cpp index 013c698445..94dd927d26 100644 --- a/indra/newview/lldrawpool.cpp +++ b/indra/newview/lldrawpool.cpp @@ -419,6 +419,7 @@ void LLRenderPass::applyModelMatrix(LLDrawInfo& params) gGL.loadMatrix(gGLModelView); if (params.mModelMatrix) { + llassert(gGL.getMatrixMode() == LLRender::MM_MODELVIEW); gGL.multMatrix((GLfloat*) params.mModelMatrix->mMatrix); } gPipeline.mMatrixOpCount++; |
