traits: Use reference to native DebugReport create/destroy
This commit is contained in:
parent
46d383e003
commit
de9418efe6
@ -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;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user