From 7d082cb2d194a0795b70db88332796cd9852fa56 Mon Sep 17 00:00:00 2001 From: Adam Sawicki Date: Mon, 27 May 2024 14:13:01 +0200 Subject: [PATCH] Fix in TestMappingHysteresis --- src/Tests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Tests.cpp b/src/Tests.cpp index bb1ceeb..7540478 100644 --- a/src/Tests.cpp +++ b/src/Tests.cpp @@ -8346,7 +8346,7 @@ static void TestMappingHysteresis() // It makes sense to test only if this buffer ended up in a non-HOST_VISIBLE memory, // which may not be the case on some integrated graphics. - if((memProps & VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT) == 0) + if((memProps & VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT) != 0) { void* ptr; for (size_t i = 0; i < 10; ++i)