diff --git a/forge/patches/minecraft/net/minecraft/src/Tessellator.java.patch b/forge/patches/minecraft/net/minecraft/src/Tessellator.java.patch index a6f448093..fdd6b2f81 100644 --- a/forge/patches/minecraft/net/minecraft/src/Tessellator.java.patch +++ b/forge/patches/minecraft/net/minecraft/src/Tessellator.java.patch @@ -15,7 +15,7 @@ + private static int nativeBufferSize = 0x200000; + private static int trivertsInBuffer = (nativeBufferSize / 48) * 6; + public static boolean renderingWorldRenderer = false; -+ public boolean defaultTexture = true; ++ public boolean defaultTexture = false; + private int rawBufferSize = 0; /** * Boolean used to check whether quads should be drawn as four triangles. Initialized to true and never changed. @@ -109,6 +109,7 @@ - this.useVBO = tryVBO && GLContext.getCapabilities().GL_ARB_vertex_buffer_object; - - if (this.useVBO) ++ instance.defaultTexture = true; + useVBO = tryVBO && GLContext.getCapabilities().GL_ARB_vertex_buffer_object; + if (useVBO) { @@ -122,7 +123,6 @@ + public Tessellator() + { + this.rawBuffer = null; -+ defaultTexture = false; + } /**