fixing soft test
This commit is contained in:
@@ -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| {
|
||||||
|
|||||||
Reference in New Issue
Block a user