diff options
| author | Tony Barbour <tony@LunarG.com> | 2015-12-04 13:24:39 -0700 |
|---|---|---|
| committer | Tony Barbour <tony@LunarG.com> | 2015-12-07 11:37:22 -0700 |
| commit | 9887b728d049f2c83c4eb560b869a77566118946 (patch) | |
| tree | 3e7f5adaf320b642711612d93fbbe7c377c481c8 /loader/loader.c | |
| parent | 9aff95b974086687f541c20952ea17e95148ba2d (diff) | |
| download | usermoji-9887b728d049f2c83c4eb560b869a77566118946.tar.xz | |
Make sure all createInfo is used creating instance
Diffstat (limited to 'loader/loader.c')
| -rw-r--r-- | loader/loader.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/loader/loader.c b/loader/loader.c index 4abfe80f..5fb9f853 100644 --- a/loader/loader.c +++ b/loader/loader.c @@ -2914,11 +2914,10 @@ VKAPI_ATTR VkResult VKAPI_CALL loader_CreateInstance( VkResult res = VK_SUCCESS; bool success = false; - icd_create_info.sType = VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO; + memcpy(&icd_create_info, pCreateInfo, sizeof(icd_create_info)); + icd_create_info.enabledLayerNameCount = 0; icd_create_info.ppEnabledLayerNames = NULL; - icd_create_info.pApplicationInfo = pCreateInfo->pApplicationInfo; - icd_create_info.pNext = pCreateInfo->pNext; /* * NOTE: Need to filter the extensions to only those |
