Formatting
This commit is contained in:
parent
d015de4a84
commit
44e03762f6
|
@ -26,15 +26,14 @@ namespace ui {
|
|||
namespace vulkan {
|
||||
|
||||
#define VK_SAFE_DESTROY(fn, dev, obj, alloc) \
|
||||
\
|
||||
do { \
|
||||
\
|
||||
do { \
|
||||
if (obj) { \
|
||||
fn(dev, obj, alloc); \
|
||||
obj = nullptr; \
|
||||
} \
|
||||
\
|
||||
} \
|
||||
while (0)
|
||||
\
|
||||
} while (0)
|
||||
|
||||
class Fence {
|
||||
public:
|
||||
|
|
Loading…
Reference in New Issue