mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-16 11:06:49 +01:00
Fixed bug #4337 - compilation of 'SDL_vulkan_utils' fails with 'VK_ERROR_INCOMPATIBLE_VERSION_KHR' undeclared
This commit is contained in:
parent
8ac0fb52cb
commit
a74f888ff9
@ -88,8 +88,10 @@ const char *SDL_Vulkan_GetResultString(VkResult result)
|
|||||||
return "VK_ERROR_VALIDATION_FAILED_EXT";
|
return "VK_ERROR_VALIDATION_FAILED_EXT";
|
||||||
case VK_ERROR_INVALID_SHADER_NV:
|
case VK_ERROR_INVALID_SHADER_NV:
|
||||||
return "VK_ERROR_INVALID_SHADER_NV";
|
return "VK_ERROR_INVALID_SHADER_NV";
|
||||||
|
#if VK_HEADER_VERSION >= 135 && VK_HEADER_VERSION < 162
|
||||||
case VK_ERROR_INCOMPATIBLE_VERSION_KHR:
|
case VK_ERROR_INCOMPATIBLE_VERSION_KHR:
|
||||||
return "VK_ERROR_INCOMPATIBLE_VERSION_KHR";
|
return "VK_ERROR_INCOMPATIBLE_VERSION_KHR";
|
||||||
|
#endif
|
||||||
case VK_ERROR_INVALID_DRM_FORMAT_MODIFIER_PLANE_LAYOUT_EXT:
|
case VK_ERROR_INVALID_DRM_FORMAT_MODIFIER_PLANE_LAYOUT_EXT:
|
||||||
return "VK_ERROR_INVALID_DRM_FORMAT_MODIFIER_PLANE_LAYOUT_EXT";
|
return "VK_ERROR_INVALID_DRM_FORMAT_MODIFIER_PLANE_LAYOUT_EXT";
|
||||||
case VK_ERROR_NOT_PERMITTED_EXT:
|
case VK_ERROR_NOT_PERMITTED_EXT:
|
||||||
|
Loading…
Reference in New Issue
Block a user