vulkan: Fix error string

This one got added in 66ba1f76ba but didn’t end
the sentence with a dot, and didn’t have its enum name between parentheses so
that people can debug more easily which error code got generated.
This commit is contained in:
Emmanuel Gil Peyrot 2024-09-10 22:45:34 +00:00
parent abd8d40bf9
commit 6dd55e381d

View File

@ -272,7 +272,7 @@ gdk_vulkan_strerror (VkResult result)
#endif #endif
#if VK_HEADER_VERSION >= 274 #if VK_HEADER_VERSION >= 274
case VK_ERROR_INVALID_VIDEO_STD_PARAMETERS_KHR: case VK_ERROR_INVALID_VIDEO_STD_PARAMETERS_KHR:
return "The specified Video Std parameters do not adhere to the syntactic or semantic requirements of the used video compression standard or implementation"; return "The specified Video Std parameters do not adhere to the syntactic or semantic requirements of the used video compression standard or implementation. (VK_ERROR_INVALID_VIDEO_STD_PARAMETERS_KHR)";
#endif #endif
#if VK_HEADER_VERSION >= 294 #if VK_HEADER_VERSION >= 294
case VK_PIPELINE_BINARY_MISSING_KHR: case VK_PIPELINE_BINARY_MISSING_KHR: