diff --git a/TracyVulkan.hpp b/TracyVulkan.hpp index 7c1dabb3..d19cbdee 100644 --- a/TracyVulkan.hpp +++ b/TracyVulkan.hpp @@ -29,9 +29,12 @@ using TracyVkCtx = void*; #else +#if !defined VK_NULL_HANDLE +# error "You must include Vulkan headers before including TracyVulkan.hpp" +#endif + #include #include -#include #include "Tracy.hpp" #include "client/TracyProfiler.hpp" #include "client/TracyCallstack.hpp"