Skip to content

Commit

Permalink
Remove cached memory type flag
Browse files Browse the repository at this point in the history
  • Loading branch information
xCollateral committed Sep 29, 2024
1 parent 6358de8 commit 3adda56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/net/vulkanmod/vulkan/texture/ImageUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public static void downloadTexture(VulkanImage image, long ptr) {
PointerBuffer pStagingAllocation = stack.pointers(0L);
MemoryManager.getInstance().createBuffer(imageSize,
VK_BUFFER_USAGE_TRANSFER_DST_BIT,
VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT | VK_MEMORY_PROPERTY_HOST_COHERENT_BIT | VK_MEMORY_PROPERTY_HOST_CACHED_BIT,
VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT | VK_MEMORY_PROPERTY_HOST_COHERENT_BIT,
pStagingBuffer,
pStagingAllocation);

Expand Down

0 comments on commit 3adda56

Please sign in to comment.