diff options
author | Dudemanguy <random342@airmail.cc> | 2022-11-03 17:20:32 -0500 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2022-11-03 17:24:09 -0500 |
commit | 2c53fb6a2be64fc8ba8c34a9e9a6b51d39d513c2 (patch) | |
tree | df1aa722a1fd30d0ffcfa93a8c4ce1a71cbee167 | |
parent | 445a3561d38552a452c242237f8cc04223d728b4 (diff) | |
download | mpv-2c53fb6a2be64fc8ba8c34a9e9a6b51d39d513c2.tar.bz2 mpv-2c53fb6a2be64fc8ba8c34a9e9a6b51d39d513c2.tar.xz |
gpu/context: properly guard wldmabuf context
This should only be added if the build has dmabuf-wayland enabled. This
fixes #10828.
-rw-r--r-- | video/out/gpu/context.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/gpu/context.c b/video/out/gpu/context.c index a7bb4175cc..2203b5cad9 100644 --- a/video/out/gpu/context.c +++ b/video/out/gpu/context.c @@ -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 }; |