summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDerek Foreman <derekf@osg.samsung.com>2017-11-10 13:34:34 -0600
committerDerek Foreman <derekf@osg.samsung.com>2017-11-10 13:43:45 -0600
commitfe41727bc3d3b8db7edff47880a1e344eb7c1212 (patch)
treef194b57c62a58f8dbdba0bfbf946cec744f59bd9 /src
parent77212021f3f9f43c1c87ef7a04d82bb44b556f31 (diff)
wayland_shm: cosmetic code simplification
We already have this value in a temp, so use it.
Diffstat (limited to 'src')
-rw-r--r--src/modules/evas/engines/wayland_shm/evas_dmabuf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/evas/engines/wayland_shm/evas_dmabuf.c b/src/modules/evas/engines/wayland_shm/evas_dmabuf.c
index 87a896f4ef..9447ebc4c0 100644
--- a/src/modules/evas/engines/wayland_shm/evas_dmabuf.c
+++ b/src/modules/evas/engines/wayland_shm/evas_dmabuf.c
@@ -668,7 +668,7 @@ _evas_dmabuf_surface_post(Surface *s, Eina_Rectangle *rects, unsigned int count)
668 ecore_wl2_window_buffer_attach(win, b->wl_buffer, 0, 0, EINA_FALSE); 668 ecore_wl2_window_buffer_attach(win, b->wl_buffer, 0, 0, EINA_FALSE);
669 ecore_wl2_window_damage(win, rects, count); 669 ecore_wl2_window_damage(win, rects, count);
670 670
671 ecore_wl2_window_commit(s->info->info.wl2_win, EINA_TRUE); 671 ecore_wl2_window_commit(win, EINA_TRUE);
672} 672}
673 673
674static struct wl_buffer * 674static struct wl_buffer *