traits: Use reference to native DebugReport create/destroy

This commit is contained in:
Danny Robson 2019-03-03 22:12:16 +11:00
parent 46d383e003
commit de9418efe6

View File

@ -495,8 +495,8 @@ namespace cruft::vk {
template <> struct life_traits<VkDebugReportCallbackEXT> { template <> struct life_traits<VkDebugReportCallbackEXT> {
static decltype(vkCreateDebugReportCallbackEXT) *create; static constexpr auto& create = vkCreateDebugReportCallbackEXT;
static decltype(vkDestroyDebugReportCallbackEXT) *destroy; static constexpr auto& destroy = vkDestroyDebugReportCallbackEXT;
}; };