From f81e86c23d22f520dcee099673fe95bd2d079cec Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Thu, 7 Sep 2017 15:54:15 +1000 Subject: [PATCH] hello-tool: fix callback sType --- tools/hello.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/hello.cpp b/tools/hello.cpp index 992bc92..2490cda 100644 --- a/tools/hello.cpp +++ b/tools/hello.cpp @@ -112,7 +112,7 @@ main (void) { VkDebugReportCallbackEXT callback; VkDebugReportCallbackCreateInfoEXT debug_info {}; - debug_info.sType = VK_STRUCTURE_TYPE_DEBUG_REPORT_CREATE_INFO_EXT; + debug_info.sType = cruft::vk::structure_type_v; debug_info.flags = VK_DEBUG_REPORT_INFORMATION_BIT_EXT | VK_DEBUG_REPORT_WARNING_BIT_EXT | VK_DEBUG_REPORT_PERFORMANCE_WARNING_BIT_EXT |