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
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
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");
|
||||
|
||||
our_vk_binding.physicalDevice = wine_instance->vk_phys_dev;
|
||||
|
|
Loading…
Reference in a new issue