diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-12-25 06:27:57 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-12-31 06:07:33 +0100 |
commit | 085adfea00a525796a3bf4b2dd345e1df656c930 (patch) | |
tree | f606a6c4fb19bf3207e9fe36b692c7c17d3fcca9 /src/video_core/vulkan_common/vulkan_wrapper.h | |
parent | renderer_vulkan: Initialize surface in separate file (diff) | |
download | yuzu-085adfea00a525796a3bf4b2dd345e1df656c930.tar yuzu-085adfea00a525796a3bf4b2dd345e1df656c930.tar.gz yuzu-085adfea00a525796a3bf4b2dd345e1df656c930.tar.bz2 yuzu-085adfea00a525796a3bf4b2dd345e1df656c930.tar.lz yuzu-085adfea00a525796a3bf4b2dd345e1df656c930.tar.xz yuzu-085adfea00a525796a3bf4b2dd345e1df656c930.tar.zst yuzu-085adfea00a525796a3bf4b2dd345e1df656c930.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/vulkan_common/vulkan_wrapper.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video_core/vulkan_common/vulkan_wrapper.h b/src/video_core/vulkan_common/vulkan_wrapper.h index 012982a3f..af3083c84 100644 --- a/src/video_core/vulkan_common/vulkan_wrapper.h +++ b/src/video_core/vulkan_common/vulkan_wrapper.h @@ -580,7 +580,8 @@ public: /// Enumerates physical devices. /// @return Physical devices and an empty handle on failure. - std::optional<std::vector<VkPhysicalDevice>> EnumeratePhysicalDevices() const; + /// @throw Exception on Vulkan error. + std::vector<VkPhysicalDevice> EnumeratePhysicalDevices() const; /// Creates a debug callback messenger. /// @throw Exception on creation failure. |