vulkan/error: add the error value in hex and decimal
Provides more information for what may be an 'Unknown' error.
This commit is contained in:
parent
5ab92e05d8
commit
be9c9e44f1
@ -113,7 +113,8 @@ gst_vulkan_error_to_g_error (VkResult result, GError ** error,
|
|||||||
g_vasprintf (&string, format, args);
|
g_vasprintf (&string, format, args);
|
||||||
va_end (args);
|
va_end (args);
|
||||||
|
|
||||||
g_set_error (error, GST_VULKAN_ERROR, result, "%s: %s", result_str, string);
|
g_set_error (error, GST_VULKAN_ERROR, result, "%s (0x%x, %i): %s", result_str,
|
||||||
|
result, result, string);
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user