Skip to content
This repository has been archived by the owner on Jun 10, 2022. It is now read-only.

Commit

Permalink
Add external_only arg to wlr_egl_create_image_from_dmabuf
Browse files Browse the repository at this point in the history
Update for [1].

[1]: swaywm/wlroots#2255
  • Loading branch information
emersion committed Jun 9, 2020
1 parent 2f4d151 commit 7c7fe10
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gl_renderer.c
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,9 @@ static struct glider_gl_renderer_buffer *renderer_buffer_create(
goto error;
}

bool external_only;
renderer_buffer->egl_image = wlr_egl_create_image_from_dmabuf(
&renderer->egl, &dmabuf);
&renderer->egl, &dmabuf, &external_only);
if (renderer_buffer->egl_image == EGL_NO_IMAGE_KHR) {
goto error;
}
Expand Down

0 comments on commit 7c7fe10

Please sign in to comment.