From b8f4078a6a4a14d8f97256d4af240ce3edec8706 Mon Sep 17 00:00:00 2001 From: Matti Ruohonen Date: Tue, 2 May 2023 18:47:00 +0300 Subject: [PATCH] GuiColorEditorHSV: Remove the unused shader program (see GH #82) --- src/main/java/fi/dy/masa/malilib/gui/GuiColorEditorHSV.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main/java/fi/dy/masa/malilib/gui/GuiColorEditorHSV.java b/src/main/java/fi/dy/masa/malilib/gui/GuiColorEditorHSV.java index 80db014645..e67677e28f 100644 --- a/src/main/java/fi/dy/masa/malilib/gui/GuiColorEditorHSV.java +++ b/src/main/java/fi/dy/masa/malilib/gui/GuiColorEditorHSV.java @@ -3,6 +3,7 @@ import java.awt.Color; import javax.annotation.Nullable; import com.mojang.blaze3d.systems.RenderSystem; + import net.minecraft.client.gui.screen.Screen; import net.minecraft.client.render.BufferBuilder; import net.minecraft.client.render.GameRenderer; @@ -11,18 +12,16 @@ import net.minecraft.client.render.VertexFormats; import net.minecraft.client.util.math.MatrixStack; import net.minecraft.util.math.MathHelper; + import fi.dy.masa.malilib.config.IConfigInteger; import fi.dy.masa.malilib.gui.interfaces.IDialogHandler; import fi.dy.masa.malilib.gui.interfaces.ITextFieldListener; import fi.dy.masa.malilib.render.RenderUtils; -import fi.dy.masa.malilib.render.shader.ShaderProgram; import fi.dy.masa.malilib.util.KeyCodes; import fi.dy.masa.malilib.util.StringUtils; public class GuiColorEditorHSV extends GuiDialogBase { - protected static final ShaderProgram SHADER_HUE = new ShaderProgram("malilib", null, "shaders/sv_selector.frag"); - protected final IConfigInteger config; @Nullable protected final IDialogHandler dialogHandler; @Nullable protected Element clickedElement;