VAO state clearing handled in InstancingEngine#render

This commit is contained in:
Jozufozu 2021-12-07 23:00:32 -08:00
parent 97949ab1da
commit 36f32ececc

View file

@ -51,10 +51,6 @@ public class GPUInstancer<D extends InstanceData> extends AbstractInstancer<D> {
// persistent mapping sync point
instanceVBO.doneForThisFrame();
GlVertexArray.unbind();
GlError.pollAndThrow(() -> modelData.name() + "_unbind");
}
private boolean invalid() {