Browse Source

Allow building X11 without Vulkan

This limit was likely introduced when Vulkan was the only option.
Riteo 2 years ago
parent
commit
3960c6b8f9
1 changed files with 0 additions and 3 deletions
  1. 0 3
      platform/linuxbsd/detect.py

+ 0 - 3
platform/linuxbsd/detect.py

@@ -339,9 +339,6 @@ def configure(env: "Environment"):
     env.Prepend(CPPPATH=["#platform/linuxbsd"])
     env.Prepend(CPPPATH=["#platform/linuxbsd"])
 
 
     if env["x11"]:
     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=["X11_ENABLED"])
 
 
     env.Append(CPPDEFINES=["UNIX_ENABLED"])
     env.Append(CPPDEFINES=["UNIX_ENABLED"])