From de2016311e220baf87c115a4ca0ae9fb8c2ab5b4 Mon Sep 17 00:00:00 2001 From: Juuz <6596629+Juuxel@users.noreply.github.com> Date: Thu, 2 Feb 2023 18:43:55 +0200 Subject: Fix #182 --- src/main/java/io/github/cottonmc/cotton/gui/widget/WTextField.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src/main/java/io') diff --git a/src/main/java/io/github/cottonmc/cotton/gui/widget/WTextField.java b/src/main/java/io/github/cottonmc/cotton/gui/widget/WTextField.java index 40bc67f..f09d8f3 100644 --- a/src/main/java/io/github/cottonmc/cotton/gui/widget/WTextField.java +++ b/src/main/java/io/github/cottonmc/cotton/gui/widget/WTextField.java @@ -264,6 +264,7 @@ public class WTextField extends WWidget { BufferRenderer.drawWithGlobalProgram(buffer.end()); RenderSystem.disableColorLogicOp(); RenderSystem.enableTexture(); + RenderSystem.setShaderColor(1.0F, 1.0F, 1.0F, 1.0F); } public WTextField setTextPredicate(Predicate predicate_1) { -- cgit