aboutsummaryrefslogtreecommitdiff
path: root/layers/basic.cpp
diff options
context:
space:
mode:
authorCourtney Goeltzenleuchter <courtney@LunarG.com>2015-06-25 18:01:43 -0600
committerCourtney Goeltzenleuchter <courtney@LunarG.com>2015-06-29 13:07:12 -0600
commitd5490f20cfdf2703493b3c1ef32dfe0462983cb3 (patch)
treea47cc4773bc8deee08d5ed111220bc54b559e5f4 /layers/basic.cpp
parentcfa6643201d47ccb6ccc630d60ad4b1f4cdf0102 (diff)
downloadusermoji-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.cpp2
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))