add default case to vk_result_string

This commit is contained in:
jacekpoz 2024-09-09 23:54:06 +02:00
parent 1037eaaeff
commit 40c8d69690
Signed by: poz
SSH key fingerprint: SHA256:JyLeVWE4bF3tDnFeUpUaJsPsNlJyBldDGV/dIKSLyN8

View file

@ -54,6 +54,7 @@ const char *vk_result_string(VkResult res) {
case VK_ERROR_COMPRESSION_EXHAUSTED_EXT: str = "VK_ERROR_COMPRESSION_EXHAUSTED_EXT"; break;
case VK_INCOMPATIBLE_SHADER_BINARY_EXT: str = "VK_INCOMPATIBLE_SHADER_BINARY_EXT"; break;
case VK_RESULT_MAX_ENUM: str = "VK_RESULT_MAX_ENUM"; break;
default: str = "unknown vulkan result"; break;
}
return str;