diff options
author | Lioncash <mathew1800@gmail.com> | 2020-06-20 05:01:56 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2020-06-20 05:01:59 +0200 |
commit | a6e5b84d1fbfa976819645d8b7234d847756fc88 (patch) | |
tree | 70e002ef5960da129feae7761e95413b71b0b0da /src/video_core | |
parent | Merge pull request #4080 from ogniK5377/audren-RendererInfo (diff) | |
download | yuzu-a6e5b84d1fbfa976819645d8b7234d847756fc88.tar yuzu-a6e5b84d1fbfa976819645d8b7234d847756fc88.tar.gz yuzu-a6e5b84d1fbfa976819645d8b7234d847756fc88.tar.bz2 yuzu-a6e5b84d1fbfa976819645d8b7234d847756fc88.tar.lz yuzu-a6e5b84d1fbfa976819645d8b7234d847756fc88.tar.xz yuzu-a6e5b84d1fbfa976819645d8b7234d847756fc88.tar.zst yuzu-a6e5b84d1fbfa976819645d8b7234d847756fc88.zip |
Diffstat (limited to 'src/video_core')
-rw-r--r-- | src/video_core/renderer_vulkan/wrapper.cpp | 3 | ||||
-rw-r--r-- | src/video_core/renderer_vulkan/wrapper.h | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/video_core/renderer_vulkan/wrapper.cpp b/src/video_core/renderer_vulkan/wrapper.cpp index 2ce9b0626..42eff85d3 100644 --- a/src/video_core/renderer_vulkan/wrapper.cpp +++ b/src/video_core/renderer_vulkan/wrapper.cpp @@ -725,8 +725,7 @@ bool PhysicalDevice::GetSurfaceSupportKHR(u32 queue_family_index, VkSurfaceKHR s return supported == VK_TRUE; } -VkSurfaceCapabilitiesKHR PhysicalDevice::GetSurfaceCapabilitiesKHR(VkSurfaceKHR surface) const - noexcept { +VkSurfaceCapabilitiesKHR PhysicalDevice::GetSurfaceCapabilitiesKHR(VkSurfaceKHR surface) const { VkSurfaceCapabilitiesKHR capabilities; Check(dld->vkGetPhysicalDeviceSurfaceCapabilitiesKHR(physical_device, surface, &capabilities)); return capabilities; diff --git a/src/video_core/renderer_vulkan/wrapper.h b/src/video_core/renderer_vulkan/wrapper.h index 98937a77a..da42ca88e 100644 --- a/src/video_core/renderer_vulkan/wrapper.h +++ b/src/video_core/renderer_vulkan/wrapper.h @@ -779,7 +779,7 @@ public: bool GetSurfaceSupportKHR(u32 queue_family_index, VkSurfaceKHR) const; - VkSurfaceCapabilitiesKHR GetSurfaceCapabilitiesKHR(VkSurfaceKHR) const noexcept; + VkSurfaceCapabilitiesKHR GetSurfaceCapabilitiesKHR(VkSurfaceKHR) const; std::vector<VkSurfaceFormatKHR> GetSurfaceFormatsKHR(VkSurfaceKHR) const; |