Use VK_EXT_debug_utils instead of deprecated VK_EXT_debug_report. (#389)
This commit is contained in:
committed by
Markus Tavenrath
parent
48d540a23d
commit
9df0fac638
@@ -650,7 +650,7 @@ int main(int /*argc*/, char** /*argv*/)
|
||||
|
||||
vk::UniqueInstance instance = vk::su::createInstance(AppName, EngineName, {}, instanceExtensions);
|
||||
#if !defined(NDEBUG)
|
||||
vk::UniqueDebugReportCallbackEXT debugReport = vk::su::createDebugReportCallback(instance);
|
||||
vk::UniqueDebugUtilsMessengerEXT debugUtilsMessenger = vk::su::createDebugUtilsMessenger(instance);
|
||||
#endif
|
||||
|
||||
vk::PhysicalDevice physicalDevice = instance->enumeratePhysicalDevices().front();
|
||||
|
||||
Reference in New Issue
Block a user