diff --git a/src/main.cpp b/src/main.cpp index 5c78056..142656d 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -244,10 +244,7 @@ class VulkanApp { .pfnUserCallback = debugCallback, }; - mDebugMessenger = - mInstance - ->createDebugUtilsMessengerEXTUnique(messengerCreateInfo, nullptr, VULKAN_HPP_DEFAULT_DISPATCHER) - .value; + mDebugMessenger = mInstance->createDebugUtilsMessengerEXTUnique(messengerCreateInfo, nullptr).value; } fn createSurface() -> void { mSurface = vkfw::createWindowSurfaceUnique(mInstance.get(), mWindow.get()); }