25#define D(TYPE, THING) \
26 if (THING != VK_NULL_HANDLE) { \
27 vk->vkDestroy##TYPE(vk->device, THING, NULL); \
28 THING = VK_NULL_HANDLE; \
41#define DF(TYPE, THING) \
42 if (THING != VK_NULL_HANDLE) { \
43 vk->vkFree##TYPE(vk->device, THING, NULL); \
44 THING = VK_NULL_HANDLE; \
Common Vulkan code header.