From e04304e12481b7e9ba57d9d4c7162513b4ebaaaf Mon Sep 17 00:00:00 2001 From: Courtney Goeltzenleuchter Date: Tue, 23 Jun 2015 08:50:57 -0600 Subject: screenshot: Need to wrap more functions Need to include CreateInstance, DestroyInstance and CreateDevice in screenshot's GetInstanceProcAddr otherwise cannot process setup correctly. --- layers/screenshot.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'layers/screenshot.cpp') diff --git a/layers/screenshot.cpp b/layers/screenshot.cpp index 90d5c037..7960deb9 100644 --- a/layers/screenshot.cpp +++ b/layers/screenshot.cpp @@ -652,6 +652,8 @@ VK_LAYER_EXPORT void* VKAPI vkGetInstanceProcAddr( return (void *) vkGetInstanceProcAddr; } + if (!strcmp(funcName, "vkDestroyInstance")) + return (void *) vkDestroyInstance; if (!strcmp(funcName, "vkCreateInstance")) return (void*) vkCreateInstance; if (!strcmp(funcName, "vkCreateDevice")) -- cgit v1.2.3