mirror of
https://github.com/glfw/glfw
synced 2026-09-27 00:28:42 +03:00
Clarify glfwinfo output for no Vulkan extensions
This commit is contained in:
parent
4d322a97e1
commit
2aee114950
1 changed files with 8 additions and 3 deletions
|
|
@ -820,9 +820,14 @@ int main(int argc, char** argv)
|
|||
re = glfwGetRequiredInstanceExtensions(&re_count);
|
||||
|
||||
printf("Vulkan required instance extensions:");
|
||||
for (i = 0; i < re_count; i++)
|
||||
printf(" %s", re[i]);
|
||||
putchar('\n');
|
||||
if (re)
|
||||
{
|
||||
for (i = 0; i < re_count; i++)
|
||||
printf(" %s", re[i]);
|
||||
putchar('\n');
|
||||
}
|
||||
else
|
||||
printf(" missing\n");
|
||||
|
||||
if (list_extensions)
|
||||
list_vulkan_instance_extensions();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue