Clarify glfwinfo output for no Vulkan extensions
This commit is contained in:
parent
4d322a97e1
commit
2aee114950
@ -820,9 +820,14 @@ int main(int argc, char** argv)
|
|||||||
re = glfwGetRequiredInstanceExtensions(&re_count);
|
re = glfwGetRequiredInstanceExtensions(&re_count);
|
||||||
|
|
||||||
printf("Vulkan required instance extensions:");
|
printf("Vulkan required instance extensions:");
|
||||||
|
if (re)
|
||||||
|
{
|
||||||
for (i = 0; i < re_count; i++)
|
for (i = 0; i < re_count; i++)
|
||||||
printf(" %s", re[i]);
|
printf(" %s", re[i]);
|
||||||
putchar('\n');
|
putchar('\n');
|
||||||
|
}
|
||||||
|
else
|
||||||
|
printf(" missing\n");
|
||||||
|
|
||||||
if (list_extensions)
|
if (list_extensions)
|
||||||
list_vulkan_instance_extensions();
|
list_vulkan_instance_extensions();
|
||||||
|
Loading…
Reference in New Issue
Block a user