summaryrefslogtreecommitdiff
path: root/platform/linuxbsd/vulkan_context_x11.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'platform/linuxbsd/vulkan_context_x11.cpp')
-rw-r--r--platform/linuxbsd/vulkan_context_x11.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/platform/linuxbsd/vulkan_context_x11.cpp b/platform/linuxbsd/vulkan_context_x11.cpp
index b4f585726f..92aaf33b05 100644
--- a/platform/linuxbsd/vulkan_context_x11.cpp
+++ b/platform/linuxbsd/vulkan_context_x11.cpp
@@ -28,6 +28,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
+#ifdef VULKAN_ENABLED
+
#include "vulkan_context_x11.h"
#ifdef USE_VOLK
@@ -59,3 +61,5 @@ VulkanContextX11::VulkanContextX11() {
VulkanContextX11::~VulkanContextX11() {
}
+
+#endif // VULKAN_ENABLED