Skip to content

Commit

Permalink
Remove Volk/ from volk.h #include directives
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
martin-ejdestig committed Jun 22, 2024
1 parent 755bf2b commit 970297d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion backends/imgui_impl_vulkan.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@

// Vulkan includes
#ifdef IMGUI_IMPL_VULKAN_USE_VOLK
#include <Volk/volk.h>
#include <volk.h>
#else
#include <vulkan/vulkan.h>
#endif
Expand Down
2 changes: 1 addition & 1 deletion examples/example_glfw_vulkan/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
// Volk headers
#ifdef IMGUI_IMPL_VULKAN_USE_VOLK
#define VOLK_IMPLEMENTATION
#include <Volk/volk.h>
#include <volk.h>
#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.
Expand Down
2 changes: 1 addition & 1 deletion examples/example_sdl2_vulkan/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
// Volk headers
#ifdef IMGUI_IMPL_VULKAN_USE_VOLK
#define VOLK_IMPLEMENTATION
#include <Volk/volk.h>
#include <volk.h>
#endif

//#define APP_USE_UNLIMITED_FRAME_RATE
Expand Down

0 comments on commit 970297d

Please sign in to comment.