mirror of
https://github.com/Jozufozu/Flywheel.git
synced 2024-11-14 06:24:12 +01:00
VAO state clearing handled in InstancingEngine#render
This commit is contained in:
parent
89c96aa026
commit
8669d68af3
@ -51,10 +51,6 @@ public class GPUInstancer<D extends InstanceData> extends AbstractInstancer<D> {
|
|||||||
|
|
||||||
// persistent mapping sync point
|
// persistent mapping sync point
|
||||||
instanceVBO.doneForThisFrame();
|
instanceVBO.doneForThisFrame();
|
||||||
|
|
||||||
GlVertexArray.unbind();
|
|
||||||
|
|
||||||
GlError.pollAndThrow(() -> modelData.name() + "_unbind");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private boolean invalid() {
|
private boolean invalid() {
|
||||||
|
Loading…
Reference in New Issue
Block a user