summaryrefslogtreecommitdiffstats
path: root/src/video_core/vulkan_common
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2023-10-07 18:49:54 +0200
committerGitHub <noreply@github.com>2023-10-07 18:49:54 +0200
commitbd42bba71c09010c63853867c4d80573888bff81 (patch)
tree5d37b90ed265407d1d9f595e8aebb2ca407924a1 /src/video_core/vulkan_common
parentMerge pull request #11677 from Squall-Leonhart/D32FTOABGR8 (diff)
parentvk_present_manager: recreate surface on any surface loss (diff)
downloadyuzu-bd42bba71c09010c63853867c4d80573888bff81.tar
yuzu-bd42bba71c09010c63853867c4d80573888bff81.tar.gz
yuzu-bd42bba71c09010c63853867c4d80573888bff81.tar.bz2
yuzu-bd42bba71c09010c63853867c4d80573888bff81.tar.lz
yuzu-bd42bba71c09010c63853867c4d80573888bff81.tar.xz
yuzu-bd42bba71c09010c63853867c4d80573888bff81.tar.zst
yuzu-bd42bba71c09010c63853867c4d80573888bff81.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;