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
1 changed files with 2 additions and 2 deletions

View File

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