Merge branch 'wip/otte/for-main' into 'main'

vulkan: Turn debug messages into warnings

See merge request GNOME/gtk!7579
This commit is contained in:
Benjamin Otte 2024-08-08 04:25:35 +00:00
commit 8e35398371
2 changed files with 2 additions and 2 deletions

View File

@ -65,7 +65,7 @@ gdk_vulkan_handle_result (VkResult res,
{
if (res != VK_SUCCESS)
{
GDK_DEBUG (VULKAN, "%s(): %s (%d)", called_function, gdk_vulkan_strerror (res), res);
g_warning ("%s(): %s (%d)", called_function, gdk_vulkan_strerror (res), res);
}
return res;

View File

@ -76,7 +76,7 @@ gsk_vulkan_handle_result (VkResult res,
{
if (res != VK_SUCCESS)
{
GSK_DEBUG (VULKAN, "%s(): %s (%d)", called_function, gdk_vulkan_strerror (res), res);
g_warning ("%s(): %s (%d)", called_function, gdk_vulkan_strerror (res), res);
}
return res;
}