diff options
| author | Moulberry <james.jenour@student.scotch.wa.edu.au> | 2020-11-28 10:53:35 +1100 |
|---|---|---|
| committer | Moulberry <james.jenour@student.scotch.wa.edu.au> | 2020-11-28 10:53:35 +1100 |
| commit | 38bfc81ad013925463cd382bf99807d15b4fc53e (patch) | |
| tree | 29e9edd2832f079e4eada13f09b7c8ecec869ce2 /src/main/java/io/github/moulberry/notenoughupdates/BetterContainers.java | |
| parent | 089bac89c5435eb7e5cf80e7602da953a65f5b1a (diff) | |
| download | notenoughupdates-38bfc81ad013925463cd382bf99807d15b4fc53e.tar.gz notenoughupdates-38bfc81ad013925463cd382bf99807d15b4fc53e.tar.bz2 notenoughupdates-38bfc81ad013925463cd382bf99807d15b4fc53e.zip | |
bye melb
Diffstat (limited to 'src/main/java/io/github/moulberry/notenoughupdates/BetterContainers.java')
| -rw-r--r-- | src/main/java/io/github/moulberry/notenoughupdates/BetterContainers.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/BetterContainers.java b/src/main/java/io/github/moulberry/notenoughupdates/BetterContainers.java index 07fff01b..02ff2164 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/BetterContainers.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/BetterContainers.java @@ -19,6 +19,8 @@ import net.minecraft.nbt.NBTTagList; import net.minecraft.util.EnumChatFormatting; import net.minecraft.util.ResourceLocation; import org.lwjgl.input.Keyboard; +import org.lwjgl.opengl.GL11; +import org.lwjgl.opengl.GL14; import javax.imageio.ImageIO; import java.awt.*; @@ -90,6 +92,9 @@ public class BetterContainers { if(texture != null && loaded) { if(!usingCached) lastRenderMillis = System.currentTimeMillis(); lastRenderMillis = System.currentTimeMillis(); + + GlStateManager.color(1, 1, 1, 1); + textureManager.loadTexture(rl, texture); textureManager.bindTexture(rl); return; |
