mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2025-06-15 07:57:57 -05:00
renderer_vulkan/wrapper: Add exception class
This commit is contained in:
@ -14,6 +14,10 @@
|
||||
|
||||
namespace Vulkan::vk {
|
||||
|
||||
const char* Exception::what() const noexcept {
|
||||
return ToString(result);
|
||||
}
|
||||
|
||||
const char* ToString(VkResult result) noexcept {
|
||||
switch (result) {
|
||||
case VkResult::VK_SUCCESS:
|
||||
|
Reference in New Issue
Block a user