aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormakamys <makamys@outlook.com>2023-05-16 20:50:40 +0200
committermakamys <makamys@outlook.com>2023-05-16 23:39:39 +0200
commit8b6cd2d523b09a143ab81a2648e45a2c22163290 (patch)
treecf95a744de65322e07804144613302f338bca2a9 /src
parent382439385aa7e68443e69a2d05a33fea7305bb47 (diff)
downloadNeodymium-8b6cd2d523b09a143ab81a2648e45a2c22163290.tar.gz
Neodymium-8b6cd2d523b09a143ab81a2648e45a2c22163290.tar.bz2
Neodymium-8b6cd2d523b09a143ab81a2648e45a2c22163290.zip
Fix errored chunks not getting skipped
Regression introduced in f206874
Diffstat (limited to 'src')
-rw-r--r--src/main/java/makamys/neodymium/renderer/ChunkMesh.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/makamys/neodymium/renderer/ChunkMesh.java b/src/main/java/makamys/neodymium/renderer/ChunkMesh.java
index c9d5839..b48d1dc 100644
--- a/src/main/java/makamys/neodymium/renderer/ChunkMesh.java
+++ b/src/main/java/makamys/neodymium/renderer/ChunkMesh.java
@@ -122,6 +122,7 @@ public class ChunkMesh extends Mesh {
LOGGER.error("Skipping chunk due to errors.");
}
}
+ quadBuf.reset();
return;
}
}