From 49f705e78e1d0e06bc7a9e0c8d7aa38f5807620d Mon Sep 17 00:00:00 2001 From: Andri Yngvason Date: Mon, 22 Jul 2024 11:21:06 +0000 Subject: [PATCH] buffer: Fix dma head feature guard macros This fixes a regression caused by 56c38af25f80d725258889c5f8fb7dec1e64cbfe --- src/buffer.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/buffer.c b/src/buffer.c index 37b6f7c..d714947 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -223,9 +223,10 @@ static struct wv_buffer* wv_buffer_create_dmabuf(int width, int height, create_cma_gbm_bo(width, height, fourcc) : gbm_bo_create(gbm_device, width, height, fourcc, GBM_BO_USE_RENDERING); -#endif +#else self->bo = gbm_bo_create(gbm_device, width, height, fourcc, GBM_BO_USE_RENDERING); +#endif if (!self->bo) goto bo_failure;