Fixed sides of grass not getting biome colors
This commit is contained in:
parent
0c39a7cbfd
commit
29556e6170
|
@ -15,7 +15,7 @@
|
||||||
+ private static int nativeBufferSize = 0x200000;
|
+ private static int nativeBufferSize = 0x200000;
|
||||||
+ private static int trivertsInBuffer = (nativeBufferSize / 48) * 6;
|
+ private static int trivertsInBuffer = (nativeBufferSize / 48) * 6;
|
||||||
+ public static boolean renderingWorldRenderer = false;
|
+ public static boolean renderingWorldRenderer = false;
|
||||||
+ public boolean defaultTexture = true;
|
+ public boolean defaultTexture = false;
|
||||||
+ private int rawBufferSize = 0;
|
+ private int rawBufferSize = 0;
|
||||||
/**
|
/**
|
||||||
* Boolean used to check whether quads should be drawn as four triangles. Initialized to true and never changed.
|
* 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;
|
- this.useVBO = tryVBO && GLContext.getCapabilities().GL_ARB_vertex_buffer_object;
|
||||||
-
|
-
|
||||||
- if (this.useVBO)
|
- if (this.useVBO)
|
||||||
|
+ instance.defaultTexture = true;
|
||||||
+ useVBO = tryVBO && GLContext.getCapabilities().GL_ARB_vertex_buffer_object;
|
+ useVBO = tryVBO && GLContext.getCapabilities().GL_ARB_vertex_buffer_object;
|
||||||
+ if (useVBO)
|
+ if (useVBO)
|
||||||
{
|
{
|
||||||
|
@ -122,7 +123,6 @@
|
||||||
+ public Tessellator()
|
+ public Tessellator()
|
||||||
+ {
|
+ {
|
||||||
+ this.rawBuffer = null;
|
+ this.rawBuffer = null;
|
||||||
+ defaultTexture = false;
|
|
||||||
+ }
|
+ }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue