aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/kr
diff options
context:
space:
mode:
authorsyeyoung <cyoung06@naver.com>2021-11-27 23:36:23 +0900
committersyeyoung <cyoung06@naver.com>2021-11-27 23:36:23 +0900
commit1a46d20ac3a0ec5b98e07dc4fac21a74bd7af874 (patch)
tree3c56c7024f99765c60c6c1d8ab0c47efa4aab33c /src/main/java/kr
parente198d8243fb2e802781f5bc0a89dc8071f47b361 (diff)
downloadSkyblock-Dungeons-Guide-1a46d20ac3a0ec5b98e07dc4fac21a74bd7af874.tar.gz
Skyblock-Dungeons-Guide-1a46d20ac3a0ec5b98e07dc4fac21a74bd7af874.tar.bz2
Skyblock-Dungeons-Guide-1a46d20ac3a0ec5b98e07dc4fac21a74bd7af874.zip
- Fix typo disableDepth -> enableDepth
Diffstat (limited to 'src/main/java/kr')
-rwxr-xr-xsrc/main/java/kr/syeyoung/dungeonsguide/utils/RenderUtils.java15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/utils/RenderUtils.java b/src/main/java/kr/syeyoung/dungeonsguide/utils/RenderUtils.java
index 046a22c2..282dcf76 100755
--- a/src/main/java/kr/syeyoung/dungeonsguide/utils/RenderUtils.java
+++ b/src/main/java/kr/syeyoung/dungeonsguide/utils/RenderUtils.java
@@ -806,7 +806,7 @@ public class RenderUtils {
if (!depth) {
- GlStateManager.disableDepth();
+ GlStateManager.enableDepth();
GlStateManager.depthMask(true);
}
GlStateManager.enableTexture2D();
@@ -885,7 +885,7 @@ public class RenderUtils {
if (!depth) {
- GlStateManager.disableDepth();
+ GlStateManager.enableDepth();
GlStateManager.depthMask(true);
}
GlStateManager.enableTexture2D();
@@ -959,7 +959,7 @@ public class RenderUtils {
if (!depth) {
- GlStateManager.disableDepth();
+ GlStateManager.enableDepth();
GlStateManager.depthMask(true);
}
GlStateManager.enableTexture2D();
@@ -1046,7 +1046,7 @@ public class RenderUtils {
if (!depth) {
- GlStateManager.disableDepth();
+ GlStateManager.enableDepth();
GlStateManager.depthMask(true);
}
GlStateManager.enableTexture2D();
@@ -1123,6 +1123,7 @@ public class RenderUtils {
GL11.glVertex3d(x,y,0);
GL11.glVertex3d(0,0,z);
+ GlStateManager.disableDepth();
GL11.glVertex3d(0,0,0);
GL11.glVertex3d(x,0,0);
GL11.glVertex3d(x,0,z);
@@ -1133,7 +1134,7 @@ public class RenderUtils {
if (!depth) {
- GlStateManager.disableDepth();
+ GlStateManager.enableDepth();
GlStateManager.depthMask(true);
}
GlStateManager.enableTexture2D();
@@ -1219,7 +1220,7 @@ public class RenderUtils {
if (!depth) {
- GlStateManager.disableDepth();
+ GlStateManager.enableDepth();
GlStateManager.depthMask(true);
}
GlStateManager.enableTexture2D();
@@ -1313,7 +1314,7 @@ public class RenderUtils {
if (!depth) {
- GlStateManager.disableDepth();
+ GlStateManager.enableDepth();
GlStateManager.depthMask(true);
}
GlStateManager.enableTexture2D();