Use VK_EXT_debug_utils instead of deprecated VK_EXT_debug_report. (#389)

This commit is contained in:
Andreas Süßenbach
2019-09-25 11:56:46 +02:00
committed by Markus Tavenrath
parent 48d540a23d
commit 9df0fac638
40 changed files with 294 additions and 249 deletions

View File

@@ -56,7 +56,7 @@ int main(int /*argc*/, char ** /*argv*/)
// Create the instance
vk::UniqueInstance instance = vk::su::createInstance(AppName, EngineName, {}, vk::su::getInstanceExtensions(), desiredVersion);
#if !defined(NDEBUG)
vk::UniqueDebugReportCallbackEXT debugReportCallback = vk::su::createDebugReportCallback(instance);
vk::UniqueDebugUtilsMessengerEXT debugUtilsMessenger = vk::su::createDebugUtilsMessenger(instance);
#endif
// Get the list of physical devices