mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-05 19:08:12 +00:00
GPU: Add missing error code to VkErrorMessages()
(cherry picked from commit 906c6c7516
)
This commit is contained in:

committed by
Sam Lantinga

parent
d89c3489f8
commit
5b052e6f8c
@@ -1255,6 +1255,7 @@ static inline const char *VkErrorMessages(VkResult code)
|
||||
ERR_TO_STR(VK_ERROR_FULL_SCREEN_EXCLUSIVE_MODE_LOST_EXT)
|
||||
ERR_TO_STR(VK_SUBOPTIMAL_KHR)
|
||||
ERR_TO_STR(VK_ERROR_NATIVE_WINDOW_IN_USE_KHR)
|
||||
ERR_TO_STR(VK_ERROR_INVALID_SHADER_NV)
|
||||
default:
|
||||
return "Unhandled VkResult!";
|
||||
}
|
||||
|
Reference in New Issue
Block a user