Fixed sides of grass not getting biome colors

This commit is contained in:
LexManos 2012-03-14 16:48:33 -07:00
parent 0c39a7cbfd
commit 29556e6170
1 changed files with 2 additions and 2 deletions

View File

@ -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;
+ }
/**