loader: Fix typo in CreateDevice so ICDs see filtered device extension list
authorJon Ashburn <jon@lunarg.com>
Thu, 24 Dec 2015 17:50:08 +0000 (10:50 -0700)
committerJon Ashburn <jon@lunarg.com>
Thu, 24 Dec 2015 17:50:08 +0000 (10:50 -0700)
loader/loader.c

index d2d2d580cceca01b43073d2eff9a9c0741663751..544b6af1429ca83ecde3dd4e851de2a6e445d9ad 100644 (file)
@@ -3551,7 +3551,7 @@ VKAPI_ATTR VkResult VKAPI_CALL loader_CreateDevice(
 
     // since physicalDevice object maybe wrapped by a layer need to get unwrapped version
     // we haven't yet called down the chain for the layer to unwrap the object
-    res = icd->CreateDevice(phys_dev->phys_dev, pCreateInfo, pAllocator, pDevice);
+    res = icd->CreateDevice(phys_dev->phys_dev, &device_create_info, pAllocator, pDevice);
     if (res != VK_SUCCESS) {
         return res;
     }