Skip to content

Commit 3adda56

Browse files
committed
Remove cached memory type flag
1 parent 6358de8 commit 3adda56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/net/vulkanmod/vulkan/texture/ImageUtil.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public static void downloadTexture(VulkanImage image, long ptr) {
4646
PointerBuffer pStagingAllocation = stack.pointers(0L);
4747
MemoryManager.getInstance().createBuffer(imageSize,
4848
VK_BUFFER_USAGE_TRANSFER_DST_BIT,
49-
VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT | VK_MEMORY_PROPERTY_HOST_COHERENT_BIT | VK_MEMORY_PROPERTY_HOST_CACHED_BIT,
49+
VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT | VK_MEMORY_PROPERTY_HOST_COHERENT_BIT,
5050
pStagingBuffer,
5151
pStagingAllocation);
5252

0 commit comments

Comments
 (0)