summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-06-22 04:36:14 +0200
committerGitHub <noreply@github.com>2020-06-22 04:36:14 +0200
commitc27c76ed430acb04ff61e1540f7af1a4a4ee751b (patch)
tree802d2647d9f7659813f8faad35f5896c3759f552
parentMerge pull request #4134 from FearlessTobi/port-5322 (diff)
parentvulkan/wrapper: Remove noexcept from GetSurfaceCapabilitiesKHR() (diff)
downloadyuzu-c27c76ed430acb04ff61e1540f7af1a4a4ee751b.tar
yuzu-c27c76ed430acb04ff61e1540f7af1a4a4ee751b.tar.gz
yuzu-c27c76ed430acb04ff61e1540f7af1a4a4ee751b.tar.bz2
yuzu-c27c76ed430acb04ff61e1540f7af1a4a4ee751b.tar.lz
yuzu-c27c76ed430acb04ff61e1540f7af1a4a4ee751b.tar.xz
yuzu-c27c76ed430acb04ff61e1540f7af1a4a4ee751b.tar.zst
yuzu-c27c76ed430acb04ff61e1540f7af1a4a4ee751b.zip
-rw-r--r--src/video_core/renderer_vulkan/wrapper.cpp3
-rw-r--r--src/video_core/renderer_vulkan/wrapper.h2
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;