Skip to content

Commit

Permalink
buffer: Chase gbm_device on non-Linux after 92141ee
Browse files Browse the repository at this point in the history
  • Loading branch information
jbeich authored and any1 committed Nov 20, 2024
1 parent 82d6017 commit 7dd99e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/buffer.c
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ static struct wv_buffer* wv_buffer_create_dmabuf(
config->modifiers, config->n_modifiers,
GBM_BO_USE_RENDERING);
#else
self->bo = gbm_bo_create_with_modifiers2(gbm, config->width,
self->bo = gbm_bo_create_with_modifiers2(gbm->dev, config->width,
config->height, config->format, config->modifiers,
config->n_modifiers, GBM_BO_USE_RENDERING);
#endif
Expand Down

0 comments on commit 7dd99e3

Please sign in to comment.