fixing soft test
Build / build (push) Successful in 1m2s
Test / build_and_test (push) Successful in 35m47s

This commit is contained in:
2026-05-05 11:39:16 +02:00
parent 82a13f47a4
commit e93aa8d034
+1 -1
View File
@@ -67,7 +67,7 @@ pub fn enumerateExtensionProperties(layer_name: ?[]const u8, count: *u32, p_prop
return VkError.LayerNotPresent; return VkError.LayerNotPresent;
} }
if (comptime @hasDecl(root.Instance, "EXTENSIONS")) { if (comptime @hasDecl(root, "Instance") and @hasDecl(root.Instance, "EXTENSIONS")) {
count.* = root.Instance.EXTENSIONS.len; count.* = root.Instance.EXTENSIONS.len;
if (p_properties) |properties| { if (p_properties) |properties| {
for (root.Instance.EXTENSIONS, properties[0..]) |ext, *prop| { for (root.Instance.EXTENSIONS, properties[0..]) |ext, *prop| {