working on wsi
Test / build_and_test (push) Failing after 1m4s
Build / build (push) Successful in 1m9s

This commit is contained in:
2026-05-05 02:21:35 +02:00
parent ed50a39cb4
commit 82a13f47a4
17 changed files with 458 additions and 115 deletions
+4 -3
View File
@@ -66,11 +66,12 @@ pub fn enumerateExtensionProperties(layer_name: ?[]const u8, count: *u32, p_prop
if (layer_name) |_| {
return VkError.LayerNotPresent;
}
if (@hasDecl(root, "EXTENSIONS")) {
if (comptime @hasDecl(root.Instance, "EXTENSIONS")) {
count.* = root.Instance.EXTENSIONS.len;
if (p_properties) |properties| {
for (root.Instance.EXTENSIONS, 0..) |ext, i| {
properties[i] = ext;
for (root.Instance.EXTENSIONS, properties[0..]) |ext, *prop| {
prop.* = ext;
}
}
} else {