Skip to content

Commit 7d082cb

Browse files
Fix in TestMappingHysteresis
1 parent eaf8fc2 commit 7d082cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Tests.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8346,7 +8346,7 @@ static void TestMappingHysteresis()
83468346

83478347
// It makes sense to test only if this buffer ended up in a non-HOST_VISIBLE memory,
83488348
// which may not be the case on some integrated graphics.
8349-
if((memProps & VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT) == 0)
8349+
if((memProps & VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT) != 0)
83508350
{
83518351
void* ptr;
83528352
for (size_t i = 0; i < 10; ++i)

0 commit comments

Comments
 (0)