hello-tool: fix callback sType

This commit is contained in:
Danny Robson 2017-09-07 15:54:15 +10:00
parent 1f6f5f642b
commit f81e86c23d

View File

@ -112,7 +112,7 @@ main (void)
{ {
VkDebugReportCallbackEXT callback; VkDebugReportCallbackEXT callback;
VkDebugReportCallbackCreateInfoEXT debug_info {}; VkDebugReportCallbackCreateInfoEXT debug_info {};
debug_info.sType = VK_STRUCTURE_TYPE_DEBUG_REPORT_CREATE_INFO_EXT; debug_info.sType = cruft::vk::structure_type_v<VkDebugReportCallbackCreateInfoEXT>;
debug_info.flags = VK_DEBUG_REPORT_INFORMATION_BIT_EXT | debug_info.flags = VK_DEBUG_REPORT_INFORMATION_BIT_EXT |
VK_DEBUG_REPORT_WARNING_BIT_EXT | VK_DEBUG_REPORT_WARNING_BIT_EXT |
VK_DEBUG_REPORT_PERFORMANCE_WARNING_BIT_EXT | VK_DEBUG_REPORT_PERFORMANCE_WARNING_BIT_EXT |