aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/makamys/lodmod/renderer/LODChunk.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/makamys/lodmod/renderer/LODChunk.java')
-rw-r--r--src/main/java/makamys/lodmod/renderer/LODChunk.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/makamys/lodmod/renderer/LODChunk.java b/src/main/java/makamys/lodmod/renderer/LODChunk.java
index a0adfe2..bc17c90 100644
--- a/src/main/java/makamys/lodmod/renderer/LODChunk.java
+++ b/src/main/java/makamys/lodmod/renderer/LODChunk.java
@@ -65,7 +65,7 @@ public class LODChunk {
newChunkMesh.pass = i;
}
- renderer.setMeshVisible(chunkMeshes[cy * 2 + i], false);
+ renderer.removeMesh(chunkMeshes[cy * 2 + i]);
chunkMeshes[cy * 2 + i].destroy();
}
chunkMeshes[cy * 2 + i] = newChunkMesh;