aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/makamys/neodymium/renderer/GPUMemoryManager.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/makamys/neodymium/renderer/GPUMemoryManager.java')
-rw-r--r--src/main/java/makamys/neodymium/renderer/GPUMemoryManager.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/makamys/neodymium/renderer/GPUMemoryManager.java b/src/main/java/makamys/neodymium/renderer/GPUMemoryManager.java
index e35cc30..9dd9b04 100644
--- a/src/main/java/makamys/neodymium/renderer/GPUMemoryManager.java
+++ b/src/main/java/makamys/neodymium/renderer/GPUMemoryManager.java
@@ -153,7 +153,7 @@ public class GPUMemoryManager {
glBufferSubData(GL_ARRAY_BUFFER, nextBase, mesh.buffer);
mesh.iFirst = nextBase / mesh.getStride();
- mesh.iCount = mesh.quadCount * 6;
+ mesh.iCount = mesh.quadCount * 4;
mesh.offset = nextBase;
if(insertIndex == -1) {