diff options
author | syeyoung <cyoung06@naver.com> | 2023-01-26 03:07:11 +0900 |
---|---|---|
committer | syeyoung <cyoung06@naver.com> | 2023-01-26 03:07:11 +0900 |
commit | 7432e1f1c8ca4ddabd345967bcf8feac54413d47 (patch) | |
tree | 140cd68dd9ec0b45540fcfce8581fcd4d773bef4 /mod/src/main | |
parent | 500611d7684d7cf136f96f0049fee65529be3080 (diff) | |
download | Skyblock-Dungeons-Guide-7432e1f1c8ca4ddabd345967bcf8feac54413d47.tar.gz Skyblock-Dungeons-Guide-7432e1f1c8ca4ddabd345967bcf8feac54413d47.tar.bz2 Skyblock-Dungeons-Guide-7432e1f1c8ca4ddabd345967bcf8feac54413d47.zip |
- the correct order to do stuff
Signed-off-by: syeyoung <cyoung06@naver.com>
Diffstat (limited to 'mod/src/main')
-rw-r--r-- | mod/src/main/java/kr/syeyoung/dungeonsguide/mod/guiv2/elements/RoundRect.java | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/guiv2/elements/RoundRect.java b/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/guiv2/elements/RoundRect.java index 66b4ebc7..a4e94f1f 100644 --- a/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/guiv2/elements/RoundRect.java +++ b/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/guiv2/elements/RoundRect.java @@ -71,8 +71,6 @@ public class RoundRect extends AnnotatedExportOnlyWidget { (float) (buildContext.getAbsBounds().getX()+buildContext.getAbsBounds().getWidth()/2), Minecraft.getMinecraft().displayHeight - (float) (buildContext.getAbsBounds().getY() + buildContext.getAbsBounds().getHeight()/2)); shaderProgram.uploadUniform("smoothness", 0.0f); - - GlStateManager.color(0.0f, 1.0f, 1.0f, 1.0f); renderingContext.drawRect(0,0,buildContext.getSize().getWidth(), buildContext.getSize().getHeight(), color.getValue()); GL20.glUseProgram(0); super.doRender(absMouseX, absMouseY, relMouseX, relMouseY, partialTicks, renderingContext, buildContext); |