Added postrender

This commit is contained in:
andreja6
2018-10-25 18:16:39 -07:00
parent b1af53995a
commit 30a05af3b2
5 changed files with 28 additions and 2 deletions

View File

@@ -1246,7 +1246,12 @@ void Demo::onGraphics(RenderDevice* rd) {
}
while(!postRenderStack.empty())
{
Instance* inst = postRenderStack.top();
postRenderStack.pop();
}
renderDevice->disableLighting();