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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user