Merge branch 'wip/smcv/issue7093' into 'main'

vulkan: Only log the list of extensions if debugging is enabled

Closes #7093

See merge request GNOME/gtk!7847
This commit is contained in:
Matthias Clasen 2024-10-21 15:26:08 +00:00
commit 0b9685fb41

View File

@ -577,7 +577,7 @@ physical_device_supports_extension (VkPhysicalDevice device,
{
first = FALSE;
for (uint32_t i = 0; i < n_device_extensions; i++)
g_print ("%s\n", extensions[i].extensionName);
GDK_DEBUG (VULKAN, "%s", extensions[i].extensionName);
}
for (uint32_t i = 0; i < n_device_extensions; i++)