Skip to content

Commit 76d625d

Browse files
compat.glx-runtime: declare provides= (strong provider claim) (#35)
With mcpp's provides= support (mcpp#110), the host-GL passthrough package explicitly claims fulfilment of opengl.glx.driver / x11.display, so provider selection (why/doctor/resolution.json) attributes the capabilities to it rather than to weak capability-listing consumers like compat.glfw. Backward-compatible: older mcpp ignores the key. Co-authored-by: sunrisepeak <x.d2learn.org@gmail.com>
1 parent 331c8c5 commit 76d625d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

pkgs/c/compat.glx-runtime.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ package = {
2929
library_dirs = { "mcpp_generated/glx_runtime/lib" },
3030
dlopen_libs = { "libGLX.so.0", "libGL.so.1", "libGL.so" },
3131
capabilities = { "x11.display", "opengl.glx.driver" },
32+
provides = { "opengl.glx.driver", "x11.display" },
3233
},
3334
deps = {
3435
["compat.xext"] = "1.3.7",

0 commit comments

Comments
 (0)