diff options
author | Lenny Komow <lenny@lunarg.com> | 2018-11-27 11:08:02 -0700 |
---|---|---|
committer | Lenny Komow <lenny@lunarg.com> | 2018-11-27 12:53:10 -0700 |
commit | 4cd7e44fc1ca6c4d8361720b43a3588ddf9fc4b6 (patch) | |
tree | 3b6dfcb3f29a8ca24eb4d3a3dca4efa67c863211 | |
parent | abe5c2b3c33e42fff883d32d4c168556fb29b3ba (diff) | |
download | Vulkan-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.c | 2 |
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: |