aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/kr/syeyoung/dungeonsguide/config
diff options
context:
space:
mode:
authorsyeyoung <cyong06@naver.com>2021-01-06 11:31:07 +0900
committersyeyoung <cyong06@naver.com>2021-01-06 11:31:07 +0900
commitba793c28fa627ae2ea437b261be56b4cf19fcd8f (patch)
tree466c6d541f125f462c2c5415158f29c662b5828d /src/main/java/kr/syeyoung/dungeonsguide/config
parent04d414547e4d932f4db9a74dbc4aea8d75b96960 (diff)
downloadSkyblock-Dungeons-Guide-ba793c28fa627ae2ea437b261be56b4cf19fcd8f.tar.gz
Skyblock-Dungeons-Guide-ba793c28fa627ae2ea437b261be56b4cf19fcd8f.tar.bz2
Skyblock-Dungeons-Guide-ba793c28fa627ae2ea437b261be56b4cf19fcd8f.zip
fix xray inter mod comm
Diffstat (limited to 'src/main/java/kr/syeyoung/dungeonsguide/config')
-rwxr-xr-xsrc/main/java/kr/syeyoung/dungeonsguide/config/guiconfig/GuiConfig.java3
-rwxr-xr-xsrc/main/java/kr/syeyoung/dungeonsguide/config/guiconfig/GuiGuiLocationConfig.java3
-rwxr-xr-xsrc/main/java/kr/syeyoung/dungeonsguide/config/guiconfig/GuiParameterConfig.java3
3 files changed, 9 insertions, 0 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/config/guiconfig/GuiConfig.java b/src/main/java/kr/syeyoung/dungeonsguide/config/guiconfig/GuiConfig.java
index ba662bbf..80879a9d 100755
--- a/src/main/java/kr/syeyoung/dungeonsguide/config/guiconfig/GuiConfig.java
+++ b/src/main/java/kr/syeyoung/dungeonsguide/config/guiconfig/GuiConfig.java
@@ -51,7 +51,10 @@ public class GuiConfig extends GuiScreen {
GlStateManager.disableFog();
GlStateManager.color(1,1,1,1);
GL11.glDisable(GL11.GL_DEPTH_TEST);
+ GL11.glDepthMask(false);
mainPanel.render0(scaledResolution, new Point(0,0), new Rectangle(0,0,scaledResolution.getScaledWidth(),scaledResolution.getScaledHeight()), mouseX, mouseY, mouseX, mouseY, partialTicks);
+ GL11.glEnable(GL11.GL_DEPTH_TEST);
+ GL11.glDepthMask(true);
GL11.glPopMatrix();
}
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/config/guiconfig/GuiGuiLocationConfig.java b/src/main/java/kr/syeyoung/dungeonsguide/config/guiconfig/GuiGuiLocationConfig.java
index 9705351d..fd491705 100755
--- a/src/main/java/kr/syeyoung/dungeonsguide/config/guiconfig/GuiGuiLocationConfig.java
+++ b/src/main/java/kr/syeyoung/dungeonsguide/config/guiconfig/GuiGuiLocationConfig.java
@@ -62,7 +62,10 @@ public class GuiGuiLocationConfig extends GuiScreen {
GlStateManager.disableFog();
GlStateManager.color(1,1,1,1);
GL11.glDisable(GL11.GL_DEPTH_TEST);
+ GL11.glDepthMask(false);
mainPanel.render0(scaledResolution, new Point(0,0), new Rectangle(0,0,scaledResolution.getScaledWidth(),scaledResolution.getScaledHeight()), mouseX, mouseY, mouseX, mouseY, partialTicks);
+ GL11.glEnable(GL11.GL_DEPTH_TEST);
+ GL11.glDepthMask(true);
GL11.glPopMatrix();
}
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/config/guiconfig/GuiParameterConfig.java b/src/main/java/kr/syeyoung/dungeonsguide/config/guiconfig/GuiParameterConfig.java
index 20fe8fa0..d99d2cbb 100755
--- a/src/main/java/kr/syeyoung/dungeonsguide/config/guiconfig/GuiParameterConfig.java
+++ b/src/main/java/kr/syeyoung/dungeonsguide/config/guiconfig/GuiParameterConfig.java
@@ -65,6 +65,7 @@ public class GuiParameterConfig extends GuiScreen {
GlStateManager.disableFog();
GlStateManager.color(1,1,1,1);
GL11.glDisable(GL11.GL_DEPTH_TEST);
+ GL11.glDepthMask(false);
int heights = 0;
within = null;
for (MPanel panel:mainPanel.getChildComponents()) {
@@ -83,6 +84,8 @@ public class GuiParameterConfig extends GuiScreen {
drawHoveringText(new ArrayList<String>(Arrays.asList(feature.getDescription().split("\n"))), mouseX, mouseY, Minecraft.getMinecraft().fontRendererObj);
GlStateManager.popAttrib();
}
+ GL11.glEnable(GL11.GL_DEPTH_TEST);
+ GL11.glDepthMask(true);
GL11.glPopMatrix();
}