summaryrefslogtreecommitdiff
path: root/src/lib/ecore_wl2/ecore_wl2_buffer.c
diff options
context:
space:
mode:
authorDerek Foreman <derekf@osg.samsung.com>2017-11-16 13:15:14 -0600
committerDerek Foreman <derekf@osg.samsung.com>2017-11-16 13:18:48 -0600
commit1bd513305eb521f1febed2c2adbff573a48a52be (patch)
tree54b6195272dd168e15447048d312a0dec48b551f /src/lib/ecore_wl2/ecore_wl2_buffer.c
parent925be86f9e4093aa3fc5d27819951dc55c3faa04 (diff)
ecore_wl2: fix user pointer for dmabuf param listener
Proving once again that those that defeat type safety usually get what they deserve.
Diffstat (limited to 'src/lib/ecore_wl2/ecore_wl2_buffer.c')
-rw-r--r--src/lib/ecore_wl2/ecore_wl2_buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ecore_wl2/ecore_wl2_buffer.c b/src/lib/ecore_wl2/ecore_wl2_buffer.c
index 08a6df007a..c074870df0 100644
--- a/src/lib/ecore_wl2/ecore_wl2_buffer.c
+++ b/src/lib/ecore_wl2/ecore_wl2_buffer.c
@@ -607,7 +607,7 @@ _ecore_wl2_buffer_test(Ecore_Wl2_Display *ewd)
607 607
608 dp = zwp_linux_dmabuf_v1_create_params(ewd->wl.dmabuf); 608 dp = zwp_linux_dmabuf_v1_create_params(ewd->wl.dmabuf);
609 zwp_linux_buffer_params_v1_add(dp, buf->fd, 0, 0, buf->stride, 0, 0); 609 zwp_linux_buffer_params_v1_add(dp, buf->fd, 0, 0, buf->stride, 0, 0);
610 zwp_linux_buffer_params_v1_add_listener(dp, &params_listener, buf); 610 zwp_linux_buffer_params_v1_add_listener(dp, &params_listener, ewd);
611 zwp_linux_buffer_params_v1_create(dp, buf->w, buf->h, 611 zwp_linux_buffer_params_v1_create(dp, buf->w, buf->h,
612 DRM_FORMAT_ARGB8888, 0); 612 DRM_FORMAT_ARGB8888, 0);
613 ecore_wl2_display_flush(ewd); 613 ecore_wl2_display_flush(ewd);