From 144f0c0576c1a0ac1204ec5970a133ebc44eaa02 Mon Sep 17 00:00:00 2001 From: shedaniel Date: Sat, 21 Dec 2019 15:54:06 +0800 Subject: 3.2.28 --- src/main/java/me/shedaniel/rei/gui/widget/EntryWidget.java | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/main/java/me/shedaniel/rei/gui/widget/EntryWidget.java') diff --git a/src/main/java/me/shedaniel/rei/gui/widget/EntryWidget.java b/src/main/java/me/shedaniel/rei/gui/widget/EntryWidget.java index f66f666cb..6adecb987 100644 --- a/src/main/java/me/shedaniel/rei/gui/widget/EntryWidget.java +++ b/src/main/java/me/shedaniel/rei/gui/widget/EntryWidget.java @@ -152,7 +152,6 @@ public class EntryWidget extends WidgetWithBounds { } protected void drawHighlighted(int mouseX, int mouseY, float delta) { - RenderSystem.disableLighting(); RenderSystem.disableDepthTest(); RenderSystem.colorMask(true, true, true, false); int color = ScreenHelper.isDarkModeEnabled() ? -1877929711 : -2130706433; @@ -161,7 +160,6 @@ public class EntryWidget extends WidgetWithBounds { fillGradient(bounds.x, bounds.y, bounds.getMaxX(), bounds.getMaxY(), color, color); setZ(0); RenderSystem.colorMask(true, true, true, true); - RenderSystem.enableLighting(); RenderSystem.enableDepthTest(); } -- cgit