diff options
| author | Courtney Goeltzenleuchter <courtney@LunarG.com> | 2015-06-25 18:01:43 -0600 |
|---|---|---|
| committer | Courtney Goeltzenleuchter <courtney@LunarG.com> | 2015-06-29 13:07:12 -0600 |
| commit | d5490f20cfdf2703493b3c1ef32dfe0462983cb3 (patch) | |
| tree | a47cc4773bc8deee08d5ed111220bc54b559e5f4 /layers/basic.cpp | |
| parent | cfa6643201d47ccb6ccc630d60ad4b1f4cdf0102 (diff) | |
| download | usermoji-d5490f20cfdf2703493b3c1ef32dfe0462983cb3.tar.xz | |
loader: Remove CreateDevice from loader's instance
Need to remove the CreateDevice function pointer from the
loader's instance table.
Diffstat (limited to 'layers/basic.cpp')
| -rw-r--r-- | layers/basic.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/layers/basic.cpp b/layers/basic.cpp index de2755b2..387efbee 100644 --- a/layers/basic.cpp +++ b/layers/basic.cpp @@ -166,6 +166,8 @@ VK_LAYER_EXPORT void * VKAPI vkGetInstanceProcAddr(VkInstance instance, const ch if (!strcmp("vkDestroyInstance", pName)) return (void *) vkDestroyInstance; + if (!strcmp("vkCreateDevice", pName)) + return (void *) vkCreateDevice; if (!strcmp("vkEnumeratePhysicalDevices", pName)) return (void*) vkEnumeratePhysicalDevices; if (!strcmp("vkGetGlobalExtensionCount", pName)) |
