Formatting

This commit is contained in:
DrChat 2018-02-10 21:08:46 -06:00
parent d015de4a84
commit 44e03762f6
1 changed files with 4 additions and 5 deletions

View File

@ -27,14 +27,13 @@ namespace vulkan {
#define VK_SAFE_DESTROY(fn, dev, obj, alloc) \ #define VK_SAFE_DESTROY(fn, dev, obj, alloc) \
\ \
do { \ do { \
if (obj) { \ if (obj) { \
fn(dev, obj, alloc); \ fn(dev, obj, alloc); \
obj = nullptr; \ obj = nullptr; \
} \ } \
\ \
} \ } while (0)
while (0)
class Fence { class Fence {
public: public: