From b8fc5bbde1a87f6349765182a5646ca6f284ba11 Mon Sep 17 00:00:00 2001 From: charles-r-earp Date: Mon, 29 May 2023 21:12:12 -0700 Subject: [PATCH] Mask prefers_dedicated_allocation by dedicated_allocation --- vulkano/src/memory/allocator/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/vulkano/src/memory/allocator/mod.rs b/vulkano/src/memory/allocator/mod.rs index 4f5588f8a1..6e325aa723 100644 --- a/vulkano/src/memory/allocator/mod.rs +++ b/vulkano/src/memory/allocator/mod.rs @@ -1248,6 +1248,7 @@ unsafe impl MemoryAllocator for GenericMemoryAllocator { if !self.dedicated_allocation { dedicated_allocation = None; + prefers_dedicated_allocation = false; } let export_handle_types = if self.export_handle_types.is_empty() {