diff options
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/example-base/test-base.cpp | 7 | ||||
| -rw-r--r-- | examples/hello-world/vulkan-api.h | 2 |
2 files changed, 7 insertions, 2 deletions
diff --git a/examples/example-base/test-base.cpp b/examples/example-base/test-base.cpp index 0e0f8a69c..9d8ec8ce6 100644 --- a/examples/example-base/test-base.cpp +++ b/examples/example-base/test-base.cpp @@ -1,8 +1,11 @@ #include "test-base.h" #ifdef _WIN32 -#include <windows.h> -#include <shellapi.h> +// clang-format off +// include ordering sensitive +# include <windows.h> +# include <shellapi.h> +// clang-format on #endif int TestBase::parseOption(int argc, char** argv) diff --git a/examples/hello-world/vulkan-api.h b/examples/hello-world/vulkan-api.h index 17d0465a6..89ca9747d 100644 --- a/examples/hello-world/vulkan-api.h +++ b/examples/hello-world/vulkan-api.h @@ -7,6 +7,7 @@ // the Vulkan API. // The Vulkan function pointers we will use in this example. +// clang-format off #define VK_API_GLOBAL_PROCS(x) \ x(vkGetInstanceProcAddr) \ x(vkCreateInstance) \ @@ -87,6 +88,7 @@ /* */ #define VK_API_DECLARE_PROC(NAME) PFN_##NAME NAME = nullptr; +// clang-format on struct VulkanAPI { |
