mirror of
https://github.com/mpv-player/mpv
synced 2025-04-25 21:01:48 +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
|
#endif
|
||||||
|
|
||||||
/* No API contexts: */
|
/* No API contexts: */
|
||||||
#if HAVE_WAYLAND
|
#if HAVE_DMABUF_WAYLAND
|
||||||
&ra_ctx_wldmabuf,
|
&ra_ctx_wldmabuf,
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user