diff options
author | syeyoung <cyong06@naver.com> | 2021-01-15 23:18:13 +0900 |
---|---|---|
committer | syeyoung <cyong06@naver.com> | 2021-01-15 23:18:13 +0900 |
commit | 2f31ee747d693ed444334c84b4e2b112ef142531 (patch) | |
tree | 6d45305ca7547710081bf866970d6a320358d4b0 /src/main/java/kr/syeyoung/dungeonsguide/features/impl/FeatureChestPrice.java | |
parent | 58040f039287bcbfcfb6a5bd06172820f0fa16cf (diff) | |
download | Skyblock-Dungeons-Guide-2f31ee747d693ed444334c84b4e2b112ef142531.tar.gz Skyblock-Dungeons-Guide-2f31ee747d693ed444334c84b4e2b112ef142531.tar.bz2 Skyblock-Dungeons-Guide-2f31ee747d693ed444334c84b4e2b112ef142531.zip |
facking glstatemanager
Diffstat (limited to 'src/main/java/kr/syeyoung/dungeonsguide/features/impl/FeatureChestPrice.java')
-rw-r--r-- | src/main/java/kr/syeyoung/dungeonsguide/features/impl/FeatureChestPrice.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/features/impl/FeatureChestPrice.java b/src/main/java/kr/syeyoung/dungeonsguide/features/impl/FeatureChestPrice.java index d3792e77..d98a3bbc 100644 --- a/src/main/java/kr/syeyoung/dungeonsguide/features/impl/FeatureChestPrice.java +++ b/src/main/java/kr/syeyoung/dungeonsguide/features/impl/FeatureChestPrice.java @@ -83,8 +83,8 @@ public class FeatureChestPrice extends SimpleFeature implements GuiBackgroundRen int width = 120; - GL11.glPushMatrix(); - GL11.glTranslated(left, top, 0); + GlStateManager.pushMatrix(); + GlStateManager.translate(left, top, 0); Gui.drawRect( 0,0,width, 30, 0xFFDDDDDD); FontRenderer fr = Minecraft.getMinecraft().fontRendererObj; @@ -96,6 +96,6 @@ public class FeatureChestPrice extends SimpleFeature implements GuiBackgroundRen str = (itemPrice > chestPrice ? "+" : "") +TextUtils.format(itemPrice - chestPrice); fr.drawString(str, width - fr.getStringWidth(str) - 5, 15, itemPrice > chestPrice ? 0xFF00CC00 : 0xFFCC0000); - GL11.glPopMatrix(); + GlStateManager.popMatrix(); } } |