vulkan: Turn debug messages into warnings

Vulkan errors are quire critical, so we want to see them.

Our code is good enough to handle all non-critical errors.
This commit is contained in:
Benjamin Otte 2024-08-07 07:26:02 +02:00
parent 56c02dd7d1
commit 3313fd4e2b
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;
}