Formatting
This commit is contained in:
parent
d015de4a84
commit
44e03762f6
|
@ -26,15 +26,14 @@ namespace ui {
|
||||||
namespace vulkan {
|
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:
|
||||||
|
|
Loading…
Reference in New Issue