From d0f7c97f7652585542d6d8e3d99699afde0c6db5 Mon Sep 17 00:00:00 2001 From: Dylan Ede Date: Sat, 8 Jul 2017 11:32:45 +0100 Subject: [PATCH] Correct wording of comment about required flags The word "subset" is used when it should be "superset" instead. --- src/vk_mem_alloc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vk_mem_alloc.h b/src/vk_mem_alloc.h index 0252f53..aa922b6 100644 --- a/src/vk_mem_alloc.h +++ b/src/vk_mem_alloc.h @@ -3626,7 +3626,7 @@ VkResult vmaFindMemoryTypeIndex( uint32_t preferredFlags = pMemoryRequirements->preferredFlags; if(preferredFlags == 0) preferredFlags = requiredFlags; - // preferredFlags, if not 0, must be subset of requiredFlags. + // preferredFlags, if not 0, must be a superset of requiredFlags. VMA_ASSERT((requiredFlags & ~preferredFlags) == 0); // Convert usage to requiredFlags and preferredFlags.