From d5490f20cfdf2703493b3c1ef32dfe0462983cb3 Mon Sep 17 00:00:00 2001 From: Courtney Goeltzenleuchter Date: Thu, 25 Jun 2015 18:01:43 -0600 Subject: [PATCH] loader: Remove CreateDevice from loader's instance Need to remove the CreateDevice function pointer from the loader's instance table. --- layers/basic.cpp | 2 ++ 1 file changed, 2 insertions(+) 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)) -- 2.34.1