video_core: vulkan_device: Correct error message for unsuitable driver.
This commit is contained in:
parent
dcbf0c43c0
commit
ff2f370946
@ -318,7 +318,7 @@ Device::Device(VkInstance instance_, vk::PhysicalDevice physical_, VkSurfaceKHR
|
|||||||
const bool is_turnip = driver_id == VK_DRIVER_ID_MESA_TURNIP;
|
const bool is_turnip = driver_id == VK_DRIVER_ID_MESA_TURNIP;
|
||||||
|
|
||||||
if ((is_mvk || is_qualcomm || is_turnip) && !is_suitable) {
|
if ((is_mvk || is_qualcomm || is_turnip) && !is_suitable) {
|
||||||
LOG_WARNING(Render_Vulkan, "Unsuitable driver is MoltenVK, continuing anyway");
|
LOG_WARNING(Render_Vulkan, "Unsuitable driver, continuing anyway");
|
||||||
} else if (!is_suitable) {
|
} else if (!is_suitable) {
|
||||||
throw vk::Exception(VK_ERROR_INCOMPATIBLE_DRIVER);
|
throw vk::Exception(VK_ERROR_INCOMPATIBLE_DRIVER);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user