summaryrefslogtreecommitdiff
path: root/tools/gfx/vulkan/vk-module.h
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2022-03-09 15:59:40 -0800
committerGitHub <noreply@github.com>2022-03-09 15:59:40 -0800
commitf6c2a0f81340a0efd10e286a3cbe33e1b564a11b (patch)
treea53f9b05d2563548149ea51abf669380cd42d97f /tools/gfx/vulkan/vk-module.h
parentf67d929c24babc302eb2807251fc09b084abac2e (diff)
gfx: restructure render-vk.cpp (#2157)
Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'tools/gfx/vulkan/vk-module.h')
-rw-r--r--tools/gfx/vulkan/vk-module.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/gfx/vulkan/vk-module.h b/tools/gfx/vulkan/vk-module.h
index f07f02b72..5e67a0a7f 100644
--- a/tools/gfx/vulkan/vk-module.h
+++ b/tools/gfx/vulkan/vk-module.h
@@ -15,6 +15,14 @@
#include <vulkan/include/vulkan/vulkan.h>
+// Undef xlib macros
+#ifdef Always
+# undef Always
+#endif
+#ifdef None
+# undef None
+#endif
+
namespace gfx {
struct VulkanModule