mirror of
https://github.com/Jozufozu/Flywheel.git
synced 2024-12-26 15:06:28 +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
068692b4b9
commit
aa46f6ceb1
1 changed files with 2 additions and 0 deletions
|
@ -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 a new issue