0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 03:52:22 +02: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:
Dudemanguy 2022-11-03 17:20:32 -05:00
parent 445a3561d3
commit 2c53fb6a2b

View File

@ -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
};