forked from mirror/vulkan-zig
replace vk.Bool32 with enum
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user