From 970297da9820af10a7d0041b2e858a86b15b3a28 Mon Sep 17 00:00:00 2001 From: Martin Ejdestig Date: Sat, 22 Jun 2024 13:54:21 +0200 Subject: [PATCH] Remove Volk/ from volk.h #include directives Capital letter in path is problematic on cases sensitive file systems. volk.h is also in top level directory of https://github.com/zeux/volk . Having a path before it in #include requires specifying include path to directory one level above where Volk dir is stored, which is not always wanted. --- backends/imgui_impl_vulkan.h | 2 +- examples/example_glfw_vulkan/main.cpp | 2 +- examples/example_sdl2_vulkan/main.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/backends/imgui_impl_vulkan.h b/backends/imgui_impl_vulkan.h index c174a6ca1430..fb98bfbc4d6b 100644 --- a/backends/imgui_impl_vulkan.h +++ b/backends/imgui_impl_vulkan.h @@ -55,7 +55,7 @@ // Vulkan includes #ifdef IMGUI_IMPL_VULKAN_USE_VOLK -#include +#include #else #include #endif diff --git a/examples/example_glfw_vulkan/main.cpp b/examples/example_glfw_vulkan/main.cpp index 26012065a04a..e1f099e3d3cb 100644 --- a/examples/example_glfw_vulkan/main.cpp +++ b/examples/example_glfw_vulkan/main.cpp @@ -25,7 +25,7 @@ // Volk headers #ifdef IMGUI_IMPL_VULKAN_USE_VOLK #define VOLK_IMPLEMENTATION -#include +#include #endif // [Win32] Our example includes a copy of glfw3.lib pre-compiled with VS2010 to maximize ease of testing and compatibility with old VS compilers. diff --git a/examples/example_sdl2_vulkan/main.cpp b/examples/example_sdl2_vulkan/main.cpp index 7f8fd0abbd2e..afcebf1b913d 100644 --- a/examples/example_sdl2_vulkan/main.cpp +++ b/examples/example_sdl2_vulkan/main.cpp @@ -24,7 +24,7 @@ // Volk headers #ifdef IMGUI_IMPL_VULKAN_USE_VOLK #define VOLK_IMPLEMENTATION -#include +#include #endif //#define APP_USE_UNLIMITED_FRAME_RATE