mirror of
https://github.com/glfw/glfw.git
synced 2024-11-22 04:54:35 +00:00
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:");
|
||||||
for (i = 0; i < re_count; i++)
|
if (re)
|
||||||
printf(" %s", re[i]);
|
{
|
||||||
putchar('\n');
|
for (i = 0; i < re_count; i++)
|
||||||
|
printf(" %s", re[i]);
|
||||||
|
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