summaryrefslogtreecommitdiff
path: root/examples/hello-world/vulkan-api.h
diff options
context:
space:
mode:
authorEllie Hermaszewska <ellieh@nvidia.com>2024-10-29 14:49:26 +0800
committerGitHub <noreply@github.com>2024-10-29 14:49:26 +0800
commitf65d756bff8d4c5cbc15bd0322a2ae8e6b896a21 (patch)
treeea1d61342cd29368e19135000ec2948813096205 /examples/hello-world/vulkan-api.h
parenta729c15e9dce9f5116a38afc66329ab2ca4cea54 (diff)
format
* format * Minor test fixes * enable checking cpp format in ci
Diffstat (limited to 'examples/hello-world/vulkan-api.h')
-rw-r--r--examples/hello-world/vulkan-api.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/examples/hello-world/vulkan-api.h b/examples/hello-world/vulkan-api.h
index 89ca9747d..ab0822569 100644
--- a/examples/hello-world/vulkan-api.h
+++ b/examples/hello-world/vulkan-api.h
@@ -121,12 +121,12 @@ struct VulkanAPI
};
#define RETURN_ON_FAIL(x) \
- { \
- auto _res = x; \
- if (_res != 0) \
- { \
- return -1; \
- } \
+ { \
+ auto _res = x; \
+ if (_res != 0) \
+ { \
+ return -1; \
+ } \
}
// Loads Vulkan library and creates a VkDevice.