diff options
-rw-r--r-- | src/main/java/makamys/lodmod/renderer/ChunkMesh.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main/java/makamys/lodmod/renderer/ChunkMesh.java b/src/main/java/makamys/lodmod/renderer/ChunkMesh.java index 09a8cd5..ab8ce1f 100644 --- a/src/main/java/makamys/lodmod/renderer/ChunkMesh.java +++ b/src/main/java/makamys/lodmod/renderer/ChunkMesh.java @@ -251,6 +251,11 @@ public class ChunkMesh extends Mesh { } instances--; } + + @Override + public void destroyBuffer() { + destroy(); + } private ByteBuffer createBuffer(byte[] data, List<String> stringTable) { if(!(flags.hasTexture && flags.hasColor && flags.hasBrightness && !flags.hasNormals)) { |