Fix thaumcraft label flicker

This commit is contained in:
Justin Aquadro committed 2015-07-08 23:36:23 -04:00
1 parent ea80bc03dc
commit db064d0cb6
2 files changed
+7 -2

No files matched your search

+2 -2
View File
@@ -17,12 +17,12 @@ buildscript {
apply plugin: 'forge'
version = "1.7.10-1.5.10"
version = "1.7.10-1.5.11"
group= "com.jaquadro.minecraft.storagedrawers" // http://maven.apache.org/guides/mini/guide-naming-conventions.html
archivesBaseName = "StorageDrawers"
minecraft {
version = "1.7.10-10.13.3.1408-1.7.10"
version = "1.7.10-10.13.4.1481-1.7.10"
assetDir = "runtime/assets"
replace '@VERSION@', project.version
@@ -173,6 +173,9 @@ public class Thaumcraft extends IntegrationModule
GL11.glEnable(GL11.GL_BLEND);
GL11.glEnable(GL11.GL_ALPHA_TEST);
GL11.glEnable(GL11.GL_POLYGON_OFFSET_FILL);
GL11.glPolygonOffset(-1f, -1);
ResourceLocation aspectResource = aspect.getImage();
Minecraft.getMinecraft().renderEngine.bindTexture(aspectResource);
@@ -184,6 +187,8 @@ public class Thaumcraft extends IntegrationModule
tessellator.addVertexWithUV(x, y, 0, 0, 0);
tessellator.draw();
GL11.glDisable(GL11.GL_POLYGON_OFFSET_FILL);
GL11.glDisable(GL11.GL_ALPHA_TEST);
GL11.glDisable(GL11.GL_BLEND);
GL11.glEnable(GL11.GL_LIGHTING);