mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2025-02-13 08:14:23 +01:00
Fix remapping error
This commit is contained in:
parent
1f4d80a30e
commit
61e8856fa9
1 changed files with 1 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue