Added OpenGL::Delete[FrameBuffer|VertexArray]

Also renamed OpenGL::OnContextChange to OnContextChanged (since it
happens after the context change)
Also improved RenderTexture implementation


Former-commit-id: d845b1405294dd3aa134d392585069bbb28a77a3
This commit is contained in:
Lynix
2014-04-25 12:38:53 +02:00
parent a3f877daf1
commit 7ac3fee3a5
4 changed files with 70 additions and 27 deletions

View File

@@ -248,7 +248,7 @@ bool NzContext::SetActive(bool active) const
currentContext = nullptr;
}
NzOpenGL::OnContextChange(currentContext);
NzOpenGL::OnContextChanged(currentContext);
return true;
}