Automated merge with https://bitbucket.org/VirLinden/viewer-development-shining-fixes
commit
80299bcd50
|
|
@ -1434,8 +1434,6 @@ void LLRender::loadIdentity()
|
|||
flush();
|
||||
|
||||
{
|
||||
llassert_always(mMatrixMode < NUM_MATRIX_MODES) ;
|
||||
|
||||
mMatrix[mMatrixMode][mMatIdx[mMatrixMode]].make_identity();
|
||||
mMatHash[mMatrixMode]++;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3765,6 +3765,7 @@ void LLPipeline::renderGeom(LLCamera& camera, BOOL forceVBOUpdate)
|
|||
LLAppViewer::instance()->pingMainloopTimeout("Pipeline:ForceVBO");
|
||||
|
||||
// Initialize lots of GL state to "safe" values
|
||||
gGL.getTexUnit(0)->unbind(LLTexUnit::TT_TEXTURE);
|
||||
gGL.matrixMode(LLRender::MM_TEXTURE);
|
||||
gGL.loadIdentity();
|
||||
gGL.matrixMode(LLRender::MM_MODELVIEW);
|
||||
|
|
|
|||
Loading…
Reference in New Issue