diff options
| author | Courtney Goeltzenleuchter <courtney@LunarG.com> | 2015-07-16 10:36:57 -0600 |
|---|---|---|
| committer | Courtney Goeltzenleuchter <courtney@LunarG.com> | 2015-07-17 10:05:23 -0600 |
| commit | a3aedf51b5cb3c98d99478ec3a11f1414f10decd (patch) | |
| tree | c3eeb7b92704f2f4880dfd6d5fa6d47ac2887e13 /loader | |
| parent | 918073081c23fbd11342dda9c10fcafabac13b02 (diff) | |
| download | usermoji-a3aedf51b5cb3c98d99478ec3a11f1414f10decd.tar.xz | |
loader: use VkDevice when initializing device table
Had ICD that actually checked the device parameter at GetProcAddr
and discovered we weren't using the device object.
Diffstat (limited to 'loader')
| -rw-r--r-- | loader/loader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/loader/loader.c b/loader/loader.c index f70830e1..834986f4 100644 --- a/loader/loader.c +++ b/loader/loader.c @@ -2811,7 +2811,7 @@ VkResult loader_CreateDevice( } PFN_vkGetDeviceProcAddr get_proc_addr = icd->GetDeviceProcAddr; loader_init_device_dispatch_table(&dev->loader_dispatch, get_proc_addr, - (VkDevice) icd->gpus[gpu_index], (VkDevice) icd->gpus[gpu_index]); + *pDevice, *pDevice); dev->loader_dispatch.CreateDevice = scratch_vkCreateDevice; loader_init_dispatch(*pDevice, &dev->loader_dispatch); |
