diff options
| author | 2023-02-20 02:04:13 -0800 | |
|---|---|---|
| committer | 2023-06-03 00:05:32 -0700 | |
| commit | ff2f3709462e3055808fa016aa3d8439f679db30 (patch) | |
| tree | b4ead262ca736b4558b5d3ad234fb932a868d2c4 /src | |
| parent | android: frontend: Cleanup framerate counter. (diff) | |
| download | yuzu-ff2f3709462e3055808fa016aa3d8439f679db30.tar.gz yuzu-ff2f3709462e3055808fa016aa3d8439f679db30.tar.xz yuzu-ff2f3709462e3055808fa016aa3d8439f679db30.zip | |
video_core: vulkan_device: Correct error message for unsuitable driver.
Diffstat (limited to 'src')
| -rw-r--r-- | src/video_core/vulkan_common/vulkan_device.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/vulkan_common/vulkan_device.cpp b/src/video_core/vulkan_common/vulkan_device.cpp index 70ee60a96..52455dbeb 100644 --- a/src/video_core/vulkan_common/vulkan_device.cpp +++ b/src/video_core/vulkan_common/vulkan_device.cpp | |||
| @@ -318,7 +318,7 @@ Device::Device(VkInstance instance_, vk::PhysicalDevice physical_, VkSurfaceKHR | |||
| 318 | const bool is_turnip = driver_id == VK_DRIVER_ID_MESA_TURNIP; | 318 | const bool is_turnip = driver_id == VK_DRIVER_ID_MESA_TURNIP; |
| 319 | 319 | ||
| 320 | if ((is_mvk || is_qualcomm || is_turnip) && !is_suitable) { | 320 | if ((is_mvk || is_qualcomm || is_turnip) && !is_suitable) { |
| 321 | LOG_WARNING(Render_Vulkan, "Unsuitable driver is MoltenVK, continuing anyway"); | 321 | LOG_WARNING(Render_Vulkan, "Unsuitable driver, continuing anyway"); |
| 322 | } else if (!is_suitable) { | 322 | } else if (!is_suitable) { |
| 323 | throw vk::Exception(VK_ERROR_INCOMPATIBLE_DRIVER); | 323 | throw vk::Exception(VK_ERROR_INCOMPATIBLE_DRIVER); |
| 324 | } | 324 | } |