From 5c8bbfe4cb112d2ff71ef50d2e41b10fd4a70ebb Mon Sep 17 00:00:00 2001 From: xCollateral <103696619+xCollateral@users.noreply.github.com> Date: Mon, 21 Oct 2024 23:09:21 +0200 Subject: [PATCH] Add image format info --- src/main/java/net/vulkanmod/mixin/texture/MTextureUtil.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/net/vulkanmod/mixin/texture/MTextureUtil.java b/src/main/java/net/vulkanmod/mixin/texture/MTextureUtil.java index 395c3cdc1..70e9347af 100644 --- a/src/main/java/net/vulkanmod/mixin/texture/MTextureUtil.java +++ b/src/main/java/net/vulkanmod/mixin/texture/MTextureUtil.java @@ -47,6 +47,7 @@ public static void prepareImage(NativeImage.InternalGlFormat internalGlFormat, i image = new VulkanImage.Builder(width, height) .setMipLevels(mipLevels + 1) + .setFormat(internalGlFormat) .setLinearFiltering(false) .setClamp(false) .createVulkanImage();