Graphics API decouple part 1

This commit is contained in:
turanszkij
2016-03-18 23:05:41 +01:00
parent 4a7a3eea78
commit 9d8b34c9bb
44 changed files with 2656 additions and 1998 deletions
+2 -2
View File
@@ -130,9 +130,9 @@ void MainComponent::Render()
{
wiLua::GetGlobal()->Render();
wiRenderer::Lock();
wiRenderer::graphicsDevice->LOCK();
getActiveComponent()->Render();
wiRenderer::Unlock();
wiRenderer::graphicsDevice->UNLOCK();
}
void MainComponent::Compose()