aboutsummaryrefslogtreecommitdiff
path: root/mod/src/main
diff options
context:
space:
mode:
authorsyeyoung <cyoung06@naver.com>2023-01-26 03:07:11 +0900
committersyeyoung <cyoung06@naver.com>2023-01-26 03:07:11 +0900
commit7432e1f1c8ca4ddabd345967bcf8feac54413d47 (patch)
tree140cd68dd9ec0b45540fcfce8581fcd4d773bef4 /mod/src/main
parent500611d7684d7cf136f96f0049fee65529be3080 (diff)
downloadSkyblock-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.java2
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);