From 2c53fb6a2be64fc8ba8c34a9e9a6b51d39d513c2 Mon Sep 17 00:00:00 2001 From: Dudemanguy Date: Thu, 3 Nov 2022 17:20:32 -0500 Subject: gpu/context: properly guard wldmabuf context This should only be added if the build has dmabuf-wayland enabled. This fixes #10828. --- video/out/gpu/context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'video/out/gpu/context.c') 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 }; -- cgit v1.2.3