Skip to content

Commit

Permalink
Add image format info
Browse files Browse the repository at this point in the history
  • Loading branch information
xCollateral committed Oct 21, 2024
1 parent eedfa54 commit 5c8bbfe
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 5c8bbfe

Please sign in to comment.