Skip to content

Commit

Permalink
Merge pull request #70677 from Riteo/x11-no-vulkan
Browse files Browse the repository at this point in the history
Allow building X11 without Vulkan
  • Loading branch information
akien-mga committed Jan 3, 2023
2 parents c5bfe13 + 3960c6b commit e56b16f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions platform/linuxbsd/detect.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"])
Expand Down

0 comments on commit e56b16f

Please sign in to comment.