Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/KhronosGroup/Vulkan-Loader.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLenny Komow <lenny@lunarg.com>2018-11-27 21:08:02 +0300
committerLenny Komow <lenny@lunarg.com>2018-11-27 22:53:10 +0300
commit4cd7e44fc1ca6c4d8361720b43a3588ddf9fc4b6 (patch)
tree3b6dfcb3f29a8ca24eb4d3a3dca4efa67c863211
parentabe5c2b3c33e42fff883d32d4c168556fb29b3ba (diff)
loader: Fix unwrapped loader instance being usedsdk-1.1.92.1sdk-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 1e9338ea4..39227d87f 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: