From fd84b2e026ecaeedab31f7e341fd3da45d9f7f6b Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Thu, 19 Aug 2021 00:00:20 +0200 Subject: [PATCH] Vulkan headers must be now manually included. --- TracyVulkan.hpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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"