removed ##

This commit is contained in:
hyzboy 2024-10-20 01:40:52 +08:00
parent dc374c0fc7
commit 4f67c0184d

View File

@ -5,7 +5,7 @@ DebugUtils *CreateDebugUtils(VkDevice device)
{ {
DebugUtilsFunction duf; DebugUtilsFunction duf;
#define DUF_GETFUNC(n,N) duf.n=(PFN_vk##N##EXT)vkGetDeviceProcAddr(device,"vk"#N"EXT");if(!duf.##n)return(nullptr); #define DUF_GETFUNC(n,N) duf.n=(PFN_vk##N##EXT)vkGetDeviceProcAddr(device,"vk"#N"EXT");if(!duf.n)return(nullptr);
DUF_GETFUNC(SetName, SetDebugUtilsObjectName ); DUF_GETFUNC(SetName, SetDebugUtilsObjectName );
DUF_GETFUNC(SetTag, SetDebugUtilsObjectTag ); DUF_GETFUNC(SetTag, SetDebugUtilsObjectTag );