FacticiusVir / SharpVk

C# Bindings for the Vulkan API & SPIR-V
MIT License
147 stars 18 forks source link

ArgumentNullException CreateDebugReportCallback #47

Closed Loen10 closed 5 years ago

Loen10 commented 5 years ago

When calling the CreateDebugReportCallback I get "System.ArgumentNullException: Value cannot be null. Parameter name: ptr I am following the Vulkan Tutorial and using the samples as a guide. I am also using GLFW.NET instead of the built in GLFW. Here is my full code: https://pastecode.xyz/view/92db0418

SOLVED: In the Vulkan Tutorial I was following the debug callback extension used was "VK_EXT_debug_utils" switching it to "VK_EXT_debug_report" as the samples use fixed the issue.