diff options
author | syeyoung <cyong06@naver.com> | 2021-08-05 12:35:15 +0900 |
---|---|---|
committer | syeyoung <cyong06@naver.com> | 2021-08-05 12:46:35 +0900 |
commit | f10046f075efd7e17336a7b4629d446283b5c953 (patch) | |
tree | 09949c1dbf309c66fbfbde6765b0da4a8ebbdf7b /src/main/java/kr/syeyoung/dungeonsguide/features/GuiFeature.java | |
parent | 468463272411cec70554aed1c96a60beea38f14a (diff) | |
download | Skyblock-Dungeons-Guide-f10046f075efd7e17336a7b4629d446283b5c953.tar.gz Skyblock-Dungeons-Guide-f10046f075efd7e17336a7b4629d446283b5c953.tar.bz2 Skyblock-Dungeons-Guide-f10046f075efd7e17336a7b4629d446283b5c953.zip |
- Remove GlStateManager.pushAttrib, which causes .... a lot of problems
= Black screen hopefully fixed?
- Mechanic Browser Rewrite
Diffstat (limited to 'src/main/java/kr/syeyoung/dungeonsguide/features/GuiFeature.java')
-rw-r--r-- | src/main/java/kr/syeyoung/dungeonsguide/features/GuiFeature.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/features/GuiFeature.java b/src/main/java/kr/syeyoung/dungeonsguide/features/GuiFeature.java index 396d244d..52278f6b 100644 --- a/src/main/java/kr/syeyoung/dungeonsguide/features/GuiFeature.java +++ b/src/main/java/kr/syeyoung/dungeonsguide/features/GuiFeature.java @@ -65,7 +65,7 @@ public abstract class GuiFeature extends AbstractFeature implements ScreenRender @Override public void drawScreen(float partialTicks) { if (!isEnabled()) return; - GlStateManager.pushAttrib(); + GlStateManager.pushMatrix(); Rectangle featureRect = this.featureRect.getRectangleNoScale(); ScaledResolution scaledResolution = new ScaledResolution(Minecraft.getMinecraft()); @@ -78,7 +78,7 @@ public abstract class GuiFeature extends AbstractFeature implements ScreenRender GL11.glDisable(GL11.GL_SCISSOR_TEST); GlStateManager.popMatrix(); - GlStateManager.popAttrib(); + GlStateManager.enableBlend(); GlStateManager.color(1,1,1,1); |