VERY experimental Nintendo Switch 2 emulator
C++
vulkan_common: fix incompatible property flags
Liamb10b8b7a57a6
diff --git a/src/video_core/vulkan_common/vulkan_memory_allocator.cpp b/src/video_core/vulkan_common/vulkan_memory_allocator.cppindex 1732866e04..e28a556f89 100644--- a/src/video_core/vulkan_common/vulkan_memory_allocator.cpp+++ b/src/video_core/vulkan_common/vulkan_memory_allocator.cpp@@ -147,7 +147,7 @@ public:/// Returns whether this allocation is compatible with the arguments.[[nodiscard]] bool IsCompatible(VkMemoryPropertyFlags flags, u32 type_mask) const {- return (flags & property_flags) == property_flags && (type_mask & shifted_memory_type) != 0;+ return (flags & property_flags) == flags && (type_mask & shifted_memory_type) != 0;}private: