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.
This commit is contained in:
Riteo Siuga
2022-11-12 21:46:16 +01:00
committed by Riteo
parent 91fcc3986e
commit dc2919d57b
7 changed files with 1028 additions and 28 deletions

View File

@ -356,7 +356,6 @@ def configure(env: "Environment"):
if env["opengl3"]:
env.Append(CPPDEFINES=["GLES3_ENABLED"])
env.ParseConfig("pkg-config gl --cflags --libs")
env.Append(LIBS=["pthread"])