summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLenny Komow <lenny@lunarg.com>2018-11-27 11:08:02 -0700
committerLenny Komow <lenny@lunarg.com>2018-11-27 12:53:10 -0700
commit4cd7e44fc1ca6c4d8361720b43a3588ddf9fc4b6 (patch)
tree3b6dfcb3f29a8ca24eb4d3a3dca4efa67c863211
parentabe5c2b3c33e42fff883d32d4c168556fb29b3ba (diff)
downloadVulkan-Loader-4cd7e44fc1ca6c4d8361720b43a3588ddf9fc4b6.tar.gz
Vulkan-Loader-4cd7e44fc1ca6c4d8361720b43a3588ddf9fc4b6.tar.bz2
Vulkan-Loader-4cd7e44fc1ca6c4d8361720b43a3588ddf9fc4b6.zip
loader: Fix unwrapped loader instance being usedupstream/1.1.92
Change-Id: I64cbfa42e2e2ac83a6977acd59e6fff6bc6f73ef
-rw-r--r--loader/trampoline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/loader/trampoline.c b/loader/trampoline.c
index 1e9338ea..39227d87 100644
--- a/loader/trampoline.c
+++ b/loader/trampoline.c
@@ -849,7 +849,7 @@ LOADER_EXPORT VKAPI_ATTR VkResult VKAPI_CALL vkCreateDevice(VkPhysicalDevice phy
// Initialize WSI device extensions as part of core dispatch since loader
// has dedicated trampoline code for these
loader_init_device_extension_dispatch_table(&dev->loader_dispatch, inst->disp->layer_inst_disp.GetInstanceProcAddr,
- dev->loader_dispatch.core_dispatch.GetDeviceProcAddr, (VkInstance)inst, *pDevice);
+ dev->loader_dispatch.core_dispatch.GetDeviceProcAddr, inst->instance, *pDevice);
out: