mirror of
https://github.com/GTNewHorizons/StorageDrawers.git
synced 2026-11-13 00:47:31 +00:00
Fix thaumcraft label flicker
This commit is contained in:
1 parent
ea80bc03dc
commit
db064d0cb6
2 files changed
+7
-2
No files matched your search
+2
-2
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user