mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-20 04:09:43 +00:00
Fixed a couple of rendering glitches
This commit is contained in:
1 parent
b2248b05d9
commit
ba3759579e
2 files changed
+2
No files matched your search
@@ -193,6 +193,7 @@ public class KillerJoeRenderer extends TileEntitySpecialRenderer implements IIte
|
||||
GL11.glPushMatrix();
|
||||
GL11.glTranslatef(x, y, z);
|
||||
GL11.glEnable(GL11.GL_BLEND);
|
||||
GL11.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE_MINUS_SRC_ALPHA);
|
||||
renderModel(ForgeDirection.EAST.ordinal());
|
||||
renderSword(ForgeDirection.EAST.ordinal(), DEFAULT_SWORD, 0);
|
||||
GL11.glDisable(GL11.GL_BLEND);
|
||||
|
||||
@@ -135,6 +135,7 @@ public class GuiTravelAccessable extends GuiContainerBase {
|
||||
RenderUtil.bindTexture("enderio:textures/gui/travelAccessable.png");
|
||||
GL11.glColor4f(1, 1, 1, 0.75f);
|
||||
GL11.glEnable(GL11.GL_BLEND);
|
||||
GL11.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE_MINUS_SRC_ALPHA);
|
||||
GL11.glDisable(GL11.GL_DEPTH_TEST);
|
||||
drawTexturedModalRect(43, 72, 5, 35, 90, 18);
|
||||
GL11.glDisable(GL11.GL_BLEND);
|
||||
|
||||
Reference in new issue
Block a user