diff options
| author | Jon Ashburn <jon@lunarg.com> | 2015-05-21 17:42:17 -0600 |
|---|---|---|
| committer | Courtney Goeltzenleuchter <courtney@LunarG.com> | 2015-06-17 19:47:02 -0600 |
| commit | 18495c0e7338cc1b782974d6da47f2a1bb0da2a1 (patch) | |
| tree | 1a6e019fd945eb2bb519ac4bd3c6f28910d7c3a4 /loader/loader.c | |
| parent | 6d878d1eabdf322997e23a8a10dbcaf4cbe4a260 (diff) | |
| download | usermoji-18495c0e7338cc1b782974d6da47f2a1bb0da2a1.tar.xz | |
loader: Fix for CreateInstance object created being pointer to pointer to disp
Diffstat (limited to 'loader/loader.c')
| -rw-r--r-- | loader/loader.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/loader/loader.c b/loader/loader.c index 60641004..0d114a48 100644 --- a/loader/loader.c +++ b/loader/loader.c @@ -1192,7 +1192,7 @@ VkResult loader_CreateInstance( const VkInstanceCreateInfo* pCreateInfo, VkInstance* pInstance) { - struct loader_instance *ptr_instance = (struct loader_instance *) pInstance; + struct loader_instance *ptr_instance = *(struct loader_instance **) pInstance; struct loader_scanned_icds *scanned_icds; struct loader_icd *icd; VkResult res; @@ -1723,4 +1723,4 @@ VkResult loader_GetDisplayInfoWSI( res = icd->GetDisplayInfoWSI(display, infoType, pDataSize, pData); return res; -}
\ No newline at end of file +} |
