replace vk.Bool32 with enum

This commit is contained in:
Robin Voetter
2025-08-26 22:59:59 +02:00
parent 8322c9593f
commit 571c59180d
4 changed files with 46 additions and 26 deletions

View File

@@ -253,7 +253,7 @@ fn allocateQueues(instance: Instance, pdev: vk.PhysicalDevice, allocator: Alloca
graphics_family = family;
}
if (present_family == null and (try instance.getPhysicalDeviceSurfaceSupportKHR(pdev, family, surface)) == vk.TRUE) {
if (present_family == null and (try instance.getPhysicalDeviceSurfaceSupportKHR(pdev, family, surface)) == .true) {
present_family = family;
}
}