summaryrefslogtreecommitdiffstats
path: root/src/video_core/vulkan_common
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2023-10-02 21:08:48 +0200
committerLiam <byteslice@airmail.cc>2023-10-03 01:07:18 +0200
commitb32940d3eabef9fc33374e1a6f572c56f7ce76f1 (patch)
tree7db1c0962db7f85dfd5bef4d05e4cb2ae34b5292 /src/video_core/vulkan_common
parentMerge pull request #11657 from liamwhite/new-codespell (diff)
downloadyuzu-b32940d3eabef9fc33374e1a6f572c56f7ce76f1.tar
yuzu-b32940d3eabef9fc33374e1a6f572c56f7ce76f1.tar.gz
yuzu-b32940d3eabef9fc33374e1a6f572c56f7ce76f1.tar.bz2
yuzu-b32940d3eabef9fc33374e1a6f572c56f7ce76f1.tar.lz
yuzu-b32940d3eabef9fc33374e1a6f572c56f7ce76f1.tar.xz
yuzu-b32940d3eabef9fc33374e1a6f572c56f7ce76f1.tar.zst
yuzu-b32940d3eabef9fc33374e1a6f572c56f7ce76f1.zip
Diffstat (limited to 'src/video_core/vulkan_common')
-rw-r--r--src/video_core/vulkan_common/vulkan_wrapper.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/video_core/vulkan_common/vulkan_wrapper.h b/src/video_core/vulkan_common/vulkan_wrapper.h
index 1e3c0fa64..0487cd3b6 100644
--- a/src/video_core/vulkan_common/vulkan_wrapper.h
+++ b/src/video_core/vulkan_common/vulkan_wrapper.h
@@ -117,6 +117,9 @@ public:
virtual ~Exception() = default;
const char* what() const noexcept override;
+ VkResult GetResult() const noexcept {
+ return result;
+ }
private:
VkResult result;