aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/shedaniel/rei/gui/RecipeViewingScreen.java
diff options
context:
space:
mode:
authorDanielshe <shekwancheung0528@gmail.com>2019-08-25 20:58:00 +0800
committerDanielshe <shekwancheung0528@gmail.com>2019-08-25 20:58:00 +0800
commitb960e33306056c126c3816ec471c58c3b5a7be7f (patch)
treeb0ac4730b813a6a0004250cd50e0cabd1eb3f18e /src/main/java/me/shedaniel/rei/gui/RecipeViewingScreen.java
parentc980df4f05485ef2a1adb768087bb95eeeadcfca (diff)
downloadRoughlyEnoughItems-b960e33306056c126c3816ec471c58c3b5a7be7f.tar.gz
RoughlyEnoughItems-b960e33306056c126c3816ec471c58c3b5a7be7f.tar.bz2
RoughlyEnoughItems-b960e33306056c126c3816ec471c58c3b5a7be7f.zip
Updated on Cloth, support for 1.15
Diffstat (limited to 'src/main/java/me/shedaniel/rei/gui/RecipeViewingScreen.java')
-rw-r--r--src/main/java/me/shedaniel/rei/gui/RecipeViewingScreen.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/me/shedaniel/rei/gui/RecipeViewingScreen.java b/src/main/java/me/shedaniel/rei/gui/RecipeViewingScreen.java
index f2fb9755f..30d285e32 100644
--- a/src/main/java/me/shedaniel/rei/gui/RecipeViewingScreen.java
+++ b/src/main/java/me/shedaniel/rei/gui/RecipeViewingScreen.java
@@ -6,8 +6,8 @@
package me.shedaniel.rei.gui;
import com.google.common.collect.Lists;
-import com.mojang.blaze3d.platform.GlStateManager;
import me.shedaniel.math.api.Rectangle;
+import me.shedaniel.math.compat.RenderHelper;
import me.shedaniel.math.impl.PointHelper;
import me.shedaniel.rei.RoughlyEnoughItemsCore;
import me.shedaniel.rei.api.*;
@@ -391,7 +391,7 @@ public class RecipeViewingScreen extends Screen {
GuiLighting.disable();
widget.render(mouseX, mouseY, delta);
});
- GlStateManager.color4f(1.0F, 1.0F, 1.0F, 1.0F);
+ RenderHelper.color4f(1.0F, 1.0F, 1.0F, 1.0F);
GuiLighting.disable();
tabs.stream().filter(TabWidget::isSelected).forEach(tabWidget -> tabWidget.render(mouseX, mouseY, delta));
GuiLighting.disable();