From 61e8856fa90f7e369c6d93bf0418367fa515d827 Mon Sep 17 00:00:00 2001 From: Sollace Date: Fri, 22 Nov 2019 20:27:48 +0200 Subject: [PATCH] Fix remapping error --- .../com/minelittlepony/client/util/render/NativeUtil.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main/java/com/minelittlepony/client/util/render/NativeUtil.java b/src/main/java/com/minelittlepony/client/util/render/NativeUtil.java index f7b18eb5..1eff15fe 100644 --- a/src/main/java/com/minelittlepony/client/util/render/NativeUtil.java +++ b/src/main/java/com/minelittlepony/client/util/render/NativeUtil.java @@ -12,8 +12,6 @@ import java.util.function.Function; import static com.mojang.blaze3d.platform.GlStateManager.getTexLevelParameter; import static org.lwjgl.opengl.GL11.*; -import com.minelittlepony.client.util.render.NativeUtil.InternalFormat; - public class NativeUtil { enum InternalFormat { RGB(NativeImage.Format.RGB), @@ -100,7 +98,7 @@ public class NativeUtil { } // recreate NativeImage from the GL matrix - textures.bindTextureInner(resource); + textures.bindTexture(resource); // TODO: This returns values that are too specific. // Can we change the level (0) here to something