aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/shedaniel/rei/gui/widget/EntryWidget.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/me/shedaniel/rei/gui/widget/EntryWidget.java')
-rw-r--r--src/main/java/me/shedaniel/rei/gui/widget/EntryWidget.java2
1 files changed, 0 insertions, 2 deletions
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();
}