diff options
| author | AndreyL ProductEngine <alihatskiy@productengine.com> | 2019-10-22 17:56:12 +0300 |
|---|---|---|
| committer | AndreyL ProductEngine <alihatskiy@productengine.com> | 2019-10-22 17:56:12 +0300 |
| commit | 6f4692bac2736bc38828911a52e657df6fa13a07 (patch) | |
| tree | 232eca28c7c59cf3c27d53162ef80b520387272b /indra/newview/lldrawpool.cpp | |
| parent | ed6943b913bb1affc6049384fa20bcb778f41c07 (diff) | |
SL-1130 Fixed crash in LLRender::loadMatrix()
Diffstat (limited to 'indra/newview/lldrawpool.cpp')
| -rw-r--r-- | indra/newview/lldrawpool.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/lldrawpool.cpp b/indra/newview/lldrawpool.cpp index 82888b2df6..71b0f32a4f 100644 --- a/indra/newview/lldrawpool.cpp +++ b/indra/newview/lldrawpool.cpp @@ -449,10 +449,10 @@ void LLRenderPass::applyModelMatrix(const LLDrawInfo& params) if (params.mModelMatrix != gGLLastMatrix) { gGLLastMatrix = params.mModelMatrix; + gGL.matrixMode(LLRender::MM_MODELVIEW); gGL.loadMatrix(gGLModelView); if (params.mModelMatrix) { - llassert(gGL.getMatrixMode() == LLRender::MM_MODELVIEW); gGL.multMatrix((GLfloat*) params.mModelMatrix->mMatrix); } gPipeline.mMatrixOpCount++; |
