laoder: Fix phys_dev to use unwrapped version in loader_CreateDevice
authorJon Ashburn <jon@lunarg.com>
Fri, 15 Jan 2016 20:10:10 +0000 (13:10 -0700)
committerJon Ashburn <jon@lunarg.com>
Fri, 15 Jan 2016 20:10:10 +0000 (13:10 -0700)
loader/loader.c

index aeb83a9..9a3aa3f 100644 (file)
@@ -3524,7 +3524,7 @@ VKAPI_ATTR VkResult VKAPI_CALL loader_CreateDevice(
         }
 
         res = loader_add_device_extensions(
-                            inst, icd, physicalDevice,
+                            inst, icd, phys_dev->phys_dev,
                             phys_dev->this_icd->this_icd_lib->lib_name,
                             &phys_dev->device_extension_cache);
         if (res != VK_SUCCESS) {