[Vulkan] Enforce semicolons on VK_SAFE_DESTROY
This commit is contained in:
parent
190108dab6
commit
45ba1d0bf3
|
@ -26,10 +26,15 @@ namespace ui {
|
|||
namespace vulkan {
|
||||
|
||||
#define VK_SAFE_DESTROY(fn, dev, obj, alloc) \
|
||||
\
|
||||
do { \
|
||||
if (obj) { \
|
||||
fn(dev, obj, alloc); \
|
||||
obj = nullptr; \
|
||||
}
|
||||
} \
|
||||
\
|
||||
} \
|
||||
while (0)
|
||||
|
||||
class Fence {
|
||||
public:
|
||||
|
|
Loading…
Reference in New Issue