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

@@ -29,7 +29,7 @@ int main(int /*argc*/, char ** /*argv*/)
{
vk::UniqueInstance instance = vk::su::createInstance(AppName, EngineName, {}, vk::su::getInstanceExtensions());
#if !defined(NDEBUG)
vk::UniqueDebugReportCallbackEXT debugReportCallback = vk::su::createDebugReportCallback(instance);
vk::UniqueDebugUtilsMessengerEXT debugUtilsMessenger = vk::su::createDebugUtilsMessenger(instance);
#endif
vk::PhysicalDevice physicalDevice = instance->enumeratePhysicalDevices().front();