mirror of
https://github.com/Jozufozu/Flywheel.git
synced 2024-11-10 12:34:11 +01:00
A mesh unbound
- Clear a mesh's set of bound vaos when it's uploaded - Fixes visual glitches on instancing when removing instances
This commit is contained in:
parent
483eb199fa
commit
dd23e1d4f8
@ -145,6 +145,8 @@ public class MeshPool {
|
||||
baseVertex += mesh.vertexCount();
|
||||
|
||||
mesh.firstIndex = firstIndices.getInt(mesh.mesh.indexSequence());
|
||||
|
||||
mesh.boundTo.clear();
|
||||
}
|
||||
|
||||
vbo.upload(vertexBlock);
|
||||
|
Loading…
Reference in New Issue
Block a user