From 3960c6b8f9fcf3d68ba6e623350100f44910977b Mon Sep 17 00:00:00 2001 From: Riteo Date: Tue, 27 Dec 2022 21:47:26 +0100 Subject: [PATCH] Allow building X11 without Vulkan This limit was likely introduced when Vulkan was the only option. --- platform/linuxbsd/detect.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/platform/linuxbsd/detect.py b/platform/linuxbsd/detect.py index 844b15e9fb4..747dcbd76c7 100644 --- a/platform/linuxbsd/detect.py +++ b/platform/linuxbsd/detect.py @@ -339,9 +339,6 @@ def configure(env: "Environment"): env.Prepend(CPPPATH=["#platform/linuxbsd"]) if env["x11"]: - if not env["vulkan"]: - print("Error: X11 support requires vulkan=yes") - env.Exit(255) env.Append(CPPDEFINES=["X11_ENABLED"]) env.Append(CPPDEFINES=["UNIX_ENABLED"])