mirror of
https://github.com/ValveSoftware/Proton.git
synced 2024-12-27 23:25:50 +03:00
wineopenxr: Fix physical device comparison in wine_xrCreateSession().
Affects logging WARN only. Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
This commit is contained in:
parent
29cd5135a3
commit
36bb06593d
@ -867,7 +867,7 @@ XrResult WINAPI wine_xrCreateSession(XrInstance instance, const XrSessionCreateI
|
|||||||
if ((res = do_vulkan_init(wine_instance, our_vk_binding.instance)) != XR_SUCCESS)
|
if ((res = do_vulkan_init(wine_instance, our_vk_binding.instance)) != XR_SUCCESS)
|
||||||
return res;
|
return res;
|
||||||
|
|
||||||
if (wine_instance->vk_phys_dev != our_vk_binding.physicalDevice)
|
if (wine_instance->vk_phys_dev != get_native_VkPhysicalDevice(our_vk_binding.physicalDevice))
|
||||||
WINE_WARN("VK physical device does not match that from xrGetVulkanGraphicsDeviceKHR.\n");
|
WINE_WARN("VK physical device does not match that from xrGetVulkanGraphicsDeviceKHR.\n");
|
||||||
|
|
||||||
our_vk_binding.physicalDevice = wine_instance->vk_phys_dev;
|
our_vk_binding.physicalDevice = wine_instance->vk_phys_dev;
|
||||||
|
Loading…
Reference in New Issue
Block a user