mirror of
https://github.com/mpv-player/mpv
synced 2025-04-08 18:53:30 +00:00
gpu/context: properly guard wldmabuf context
This should only be added if the build has dmabuf-wayland enabled. This fixes #10828.
This commit is contained in:
parent
445a3561d3
commit
2c53fb6a2b
@ -114,7 +114,7 @@ static const struct ra_ctx_fns *contexts[] = {
|
||||
#endif
|
||||
|
||||
/* No API contexts: */
|
||||
#if HAVE_WAYLAND
|
||||
#if HAVE_DMABUF_WAYLAND
|
||||
&ra_ctx_wldmabuf,
|
||||
#endif
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user