summaryrefslogtreecommitdiff
path: root/platform/linuxbsd/vulkan_context_x11.h
diff options
context:
space:
mode:
Diffstat (limited to 'platform/linuxbsd/vulkan_context_x11.h')
-rw-r--r--platform/linuxbsd/vulkan_context_x11.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/platform/linuxbsd/vulkan_context_x11.h b/platform/linuxbsd/vulkan_context_x11.h
index 0c4a6cd278..0adb50ef44 100644
--- a/platform/linuxbsd/vulkan_context_x11.h
+++ b/platform/linuxbsd/vulkan_context_x11.h
@@ -31,6 +31,8 @@
#ifndef VULKAN_CONTEXT_X11_H
#define VULKAN_CONTEXT_X11_H
+#ifdef VULKAN_ENABLED
+
#include "drivers/vulkan/vulkan_context.h"
#include <X11/Xlib.h>
@@ -44,4 +46,6 @@ public:
~VulkanContextX11();
};
+#endif // VULKAN_ENABLED
+
#endif // VULKAN_CONTEXT_X11_H