Skip to content

Commit

Permalink
Crate linear dmabuf in wlr_screencast_common.c
Browse files Browse the repository at this point in the history
  • Loading branch information
columbarius committed Sep 17, 2020
1 parent 55b2dfd commit 2fbd42d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/screencast/wlr_screencast_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ struct wl_buffer *wlr_create_dmabuf_buffer(struct xdpw_screencast_instance *cast
int width, int height, uint32_t fourcc, struct gbm_bo **bo_out) {
struct gbm_bo *bo;
bo = gbm_bo_create(cast->ctx->gbm, width, height, fourcc,
GBM_BO_USE_RENDERING);
GBM_BO_USE_LINEAR | GBM_BO_USE_RENDERING);
if (bo == NULL) {
logprint(ERROR, "wlroots: failed to create gbm_bo");
return NULL;
Expand Down

0 comments on commit 2fbd42d

Please sign in to comment.