Skip to content

Commit

Permalink
buffer: Fix dma head feature guard macros
Browse files Browse the repository at this point in the history
This fixes a regression caused by
56c38af
  • Loading branch information
any1 committed Jul 22, 2024
1 parent 2d62e12 commit 49f705e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/buffer.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 49f705e

Please sign in to comment.