mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-20 12:20:11 +00:00
Fixed sides of grass not getting biome colors
This commit is contained in:
1 parent
0c39a7cbfd
commit
29556e6170
1 file changed
+2
-2
@@ -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;
|
||||
+ }
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user