From 479ba321fc47999e522e48bc559e8adb190cdeb4 Mon Sep 17 00:00:00 2001 From: PeytonPlayz595 <106421860+PeytonPlayz595@users.noreply.github.com> Date: Fri, 14 Jul 2023 07:51:25 -0400 Subject: [PATCH] oops --- .../java/net/lax1dude/eaglercraft/adapter/Tessellator.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/teavm/java/net/lax1dude/eaglercraft/adapter/Tessellator.java b/src/teavm/java/net/lax1dude/eaglercraft/adapter/Tessellator.java index f1e6be9..c5975ae 100644 --- a/src/teavm/java/net/lax1dude/eaglercraft/adapter/Tessellator.java +++ b/src/teavm/java/net/lax1dude/eaglercraft/adapter/Tessellator.java @@ -73,7 +73,7 @@ public class Tessellator { private int normal; /** The static instance of the Tessellator. */ - public static final Tessellator instance = new Tessellator(325000); + public static final Tessellator instance = new Tessellator(285000); /** Whether this tessellator is currently in draw mode. */ private boolean isDrawing = false; @@ -86,7 +86,7 @@ public class Tessellator { private Tessellator(int par1) { this.bufferSize = par1; - ArrayBuffer a = ArrayBuffer.create(par1); + ArrayBuffer a = ArrayBuffer.create(par1 * 4); this.intBuffer = Int32Array.create(a); this.floatBuffer = Float32Array.create(a); }