summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/VideoBackends')
-rw-r--r--Source/Core/VideoBackends/Vulkan/VKGfx.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/Core/VideoBackends/Vulkan/VKGfx.cpp b/Source/Core/VideoBackends/Vulkan/VKGfx.cpp
index c071d99357..c88e422c98 100644
--- a/Source/Core/VideoBackends/Vulkan/VKGfx.cpp
+++ b/Source/Core/VideoBackends/Vulkan/VKGfx.cpp
@@ -5,9 +5,9 @@
#include <cstddef>
#include <cstdio>
+#include <utility>
#include "Common/CommonTypes.h"
-#include "Common/EnumUtils.h"
#include "Common/Logging/Log.h"
#include "Common/MsgHandler.h"
@@ -273,7 +273,7 @@ bool VKGfx::BindBackbuffer(const ClearColor& clear_color)
else
{
ERROR_LOG_FMT(VIDEO, "Unknown present error {:#010X} {}, please report.",
- Common::ToUnderlying(res), VkResultToString(res));
+ std::to_underlying(res), VkResultToString(res));
m_swap_chain->RecreateSwapChain();
}
@@ -286,8 +286,8 @@ bool VKGfx::BindBackbuffer(const ClearColor& clear_color)
}
else
{
- PanicAlertFmt("Failed to grab image from swap chain: {:#010X} {}",
- Common::ToUnderlying(res), VkResultToString(res));
+ PanicAlertFmt("Failed to grab image from swap chain: {:#010X} {}", std::to_underlying(res),
+ VkResultToString(res));
}
}
}