aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/kr/syeyoung/dungeonsguide/party
diff options
context:
space:
mode:
authorsyeyoung <cyong06@naver.com>2021-08-05 12:35:15 +0900
committersyeyoung <cyong06@naver.com>2021-08-05 12:46:35 +0900
commitf10046f075efd7e17336a7b4629d446283b5c953 (patch)
tree09949c1dbf309c66fbfbde6765b0da4a8ebbdf7b /src/main/java/kr/syeyoung/dungeonsguide/party
parent468463272411cec70554aed1c96a60beea38f14a (diff)
downloadSkyblock-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/party')
-rw-r--r--src/main/java/kr/syeyoung/dungeonsguide/party/PartyInviteViewer.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/party/PartyInviteViewer.java b/src/main/java/kr/syeyoung/dungeonsguide/party/PartyInviteViewer.java
index db1ebde0..2e8c8702 100644
--- a/src/main/java/kr/syeyoung/dungeonsguide/party/PartyInviteViewer.java
+++ b/src/main/java/kr/syeyoung/dungeonsguide/party/PartyInviteViewer.java
@@ -209,7 +209,7 @@ public class PartyInviteViewer {
if (loadedImage.getResourceLocation() == null) loadedImage.buildGLThings();
TextureManager textureManager = Minecraft.getMinecraft().getTextureManager();
textureManager.bindTexture(loadedImage.getResourceLocation());
- GlStateManager.pushAttrib();
+
GlStateManager.disableLighting();
GlStateManager.color(1, 1, 1, 1.0F);
@@ -222,7 +222,7 @@ public class PartyInviteViewer {
GlStateManager.enableLighting();
GlStateManager.setActiveTexture(OpenGlHelper.lightmapTexUnit);
GlStateManager.setActiveTexture(OpenGlHelper.defaultTexUnit);
- GlStateManager.popAttrib();
+
} else {
Gui.drawRect(7, 7, height - 7, height-7, 0xFF4E4E4E);
}