From 7432e1f1c8ca4ddabd345967bcf8feac54413d47 Mon Sep 17 00:00:00 2001 From: syeyoung Date: Thu, 26 Jan 2023 03:07:11 +0900 Subject: - the correct order to do stuff Signed-off-by: syeyoung --- .../java/kr/syeyoung/dungeonsguide/mod/guiv2/elements/RoundRect.java | 2 -- 1 file changed, 2 deletions(-) (limited to 'mod/src/main/java') 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); -- cgit