Merge pull request #1921 from Azaezel/lostLast

address #1914
This commit is contained in:
Areloch 2017-01-15 23:35:08 -06:00 committed by GitHub
commit 598756f134
2 changed files with 2 additions and 2 deletions

View file

@ -245,7 +245,7 @@ void RenderMeshMgr::render(SceneRenderState * state)
if ( passRI->accuTex != lastAccuTex ) if ( passRI->accuTex != lastAccuTex )
{ {
sgData.accuTex = passRI->accuTex; sgData.accuTex = passRI->accuTex;
lastAccuTex = lastAccuTex; lastAccuTex = passRI->accuTex;
dirty = true; dirty = true;
} }

View file

@ -480,7 +480,7 @@ void RenderPrePassMgr::render( SceneRenderState *state )
if (passRI->accuTex != lastAccuTex) if (passRI->accuTex != lastAccuTex)
{ {
sgData.accuTex = passRI->accuTex; sgData.accuTex = passRI->accuTex;
lastAccuTex = lastAccuTex; lastAccuTex = passRI->accuTex;
dirty = true; dirty = true;
} }