diff options
| author | Danielshe <shekwancheung0528@gmail.com> | 2019-08-25 20:58:00 +0800 |
|---|---|---|
| committer | Danielshe <shekwancheung0528@gmail.com> | 2019-08-25 20:58:00 +0800 |
| commit | b960e33306056c126c3816ec471c58c3b5a7be7f (patch) | |
| tree | b0ac4730b813a6a0004250cd50e0cabd1eb3f18e /src/main/java/me/shedaniel/rei/gui/RecipeViewingScreen.java | |
| parent | c980df4f05485ef2a1adb768087bb95eeeadcfca (diff) | |
| download | RoughlyEnoughItems-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.java | 4 |
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(); |
