summaryrefslogtreecommitdiff
path: root/platform/linuxbsd/x11/SCsub
diff options
context:
space:
mode:
authorRiteo Siuga <riteo@posteo.net>2022-11-12 21:46:16 +0100
committerRiteo <riteo@posteo.net>2022-11-15 13:55:30 +0100
commitdc2919d57ba9dd7cea9a525edf37e9b4398b8816 (patch)
tree466541025b50db8d845ee6e8204dd980c04a88d4 /platform/linuxbsd/x11/SCsub
parent91fcc3986eca5331b4cc44a67adcc2f29a49eb66 (diff)
Load GLX dynamically with GLAD
This is accomplished through the addition of a GLAD GLX loader in the `thirdparty` directory. This is another step towards a nice Wayland/X11 interoperation.
Diffstat (limited to 'platform/linuxbsd/x11/SCsub')
-rw-r--r--platform/linuxbsd/x11/SCsub2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/linuxbsd/x11/SCsub b/platform/linuxbsd/x11/SCsub
index 974ad98fb9..30c6080355 100644
--- a/platform/linuxbsd/x11/SCsub
+++ b/platform/linuxbsd/x11/SCsub
@@ -11,7 +11,7 @@ if env["vulkan"]:
source_files.append("vulkan_context_x11.cpp")
if env["opengl3"]:
- source_files.append(["gl_manager_x11.cpp", "detect_prime_x11.cpp"])
+ source_files.append(["gl_manager_x11.cpp", "detect_prime_x11.cpp", "#thirdparty/glad/glx.c"])
objects = []