diff options
| author | 2023-10-02 15:08:48 -0400 | |
|---|---|---|
| committer | 2023-10-02 19:07:18 -0400 | |
| commit | b32940d3eabef9fc33374e1a6f572c56f7ce76f1 (patch) | |
| tree | 7db1c0962db7f85dfd5bef4d05e4cb2ae34b5292 /src/video_core/vulkan_common | |
| parent | Merge pull request #11657 from liamwhite/new-codespell (diff) | |
| download | yuzu-b32940d3eabef9fc33374e1a6f572c56f7ce76f1.tar.gz yuzu-b32940d3eabef9fc33374e1a6f572c56f7ce76f1.tar.xz yuzu-b32940d3eabef9fc33374e1a6f572c56f7ce76f1.zip | |
vk_present_manager: recreate surface on any surface loss
Diffstat (limited to 'src/video_core/vulkan_common')
| -rw-r--r-- | src/video_core/vulkan_common/vulkan_wrapper.h | 3 |
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: | |||
| 117 | virtual ~Exception() = default; | 117 | virtual ~Exception() = default; |
| 118 | 118 | ||
| 119 | const char* what() const noexcept override; | 119 | const char* what() const noexcept override; |
| 120 | VkResult GetResult() const noexcept { | ||
| 121 | return result; | ||
| 122 | } | ||
| 120 | 123 | ||
| 121 | private: | 124 | private: |
| 122 | VkResult result; | 125 | VkResult result; |