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:
@@ -248,7 +248,7 @@ bool NzContext::SetActive(bool active) const
|
||||
currentContext = nullptr;
|
||||
}
|
||||
|
||||
NzOpenGL::OnContextChange(currentContext);
|
||||
NzOpenGL::OnContextChanged(currentContext);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user