From 75f5ec39851ae2ddf2288520aa2221067e46d2d5 Mon Sep 17 00:00:00 2001 From: PeytonPlayz595 <106421860+PeytonPlayz595@users.noreply.github.com> Date: Mon, 17 Jul 2023 01:00:07 -0400 Subject: [PATCH] Fixed Texture Blending on Generating Level Screen --- src/teavm/java/com/mojang/minecraft/render/RenderEngine.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/teavm/java/com/mojang/minecraft/render/RenderEngine.java b/src/teavm/java/com/mojang/minecraft/render/RenderEngine.java index 559c6e5..fa9d9a9 100644 --- a/src/teavm/java/com/mojang/minecraft/render/RenderEngine.java +++ b/src/teavm/java/com/mojang/minecraft/render/RenderEngine.java @@ -59,7 +59,9 @@ public class RenderEngine { singleIntBuffer.clear(); GLAllocation.generateTextureNames(singleIntBuffer); int i = singleIntBuffer.get(0); + textureBlending = true; setupTexture(bufferedimage, i); + textureBlending = false; textureNameToImageMap.put(Integer.valueOf(i), bufferedimage); return i; }