aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/shedaniel/rei/gui/widget/EntryWidget.java
diff options
context:
space:
mode:
authorshedaniel <daniel@shedaniel.me>2019-12-21 15:54:06 +0800
committershedaniel <daniel@shedaniel.me>2019-12-21 15:54:06 +0800
commit144f0c0576c1a0ac1204ec5970a133ebc44eaa02 (patch)
tree083913b3ffc1fd4416604b63f67f3ede3d1f1ce8 /src/main/java/me/shedaniel/rei/gui/widget/EntryWidget.java
parent2d065ca9272ce28c9d4342cd127184b46881ce2e (diff)
downloadRoughlyEnoughItems-144f0c0576c1a0ac1204ec5970a133ebc44eaa02.tar.gz
RoughlyEnoughItems-144f0c0576c1a0ac1204ec5970a133ebc44eaa02.tar.bz2
RoughlyEnoughItems-144f0c0576c1a0ac1204ec5970a133ebc44eaa02.zip
3.2.28
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();
}