aboutsummaryrefslogtreecommitdiff
path: root/render/gles2
diff options
context:
space:
mode:
authorAndri Yngvason <andri@yngvason.is>2020-06-08 19:24:16 +0000
committerSimon Ser <contact@emersion.fr>2020-06-08 21:37:32 +0200
commit78d6eed6b312924cdd96339743065aee634de17d (patch)
treea5250aab97ab5ffe5ec73eeb9293d27147e35029 /render/gles2
parente0d4f7517282c4c31d0486f80974fec20fd118e8 (diff)
render: Fix blit_dmabuf() breakage due to API change
Diffstat (limited to 'render/gles2')
-rw-r--r--render/gles2/renderer.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/render/gles2/renderer.c b/render/gles2/renderer.c
index 3afade38..9ec9394d 100644
--- a/render/gles2/renderer.c
+++ b/render/gles2/renderer.c
@@ -364,7 +364,9 @@ static bool gles2_blit_dmabuf(struct wlr_renderer *wlr_renderer,
// TODO: The imported buffer should be checked with
// eglQueryDmaBufModifiersEXT to see if it may be modified.
- EGLImageKHR image = wlr_egl_create_image_from_dmabuf(egl, dst_attr);
+ bool external_only = false;
+ EGLImageKHR image = wlr_egl_create_image_from_dmabuf(egl, dst_attr,
+ &external_only);
if (image == EGL_NO_IMAGE_KHR) {
goto texture_destroy_out;
}