wayland_shm: cosmetic code simplification

We already have this value in a temp, so use it.
This commit is contained in:
Derek Foreman 2017-11-10 13:34:34 -06:00
parent 77212021f3
commit fe41727bc3
1 changed files with 1 additions and 1 deletions

View File

@ -668,7 +668,7 @@ _evas_dmabuf_surface_post(Surface *s, Eina_Rectangle *rects, unsigned int count)
ecore_wl2_window_buffer_attach(win, b->wl_buffer, 0, 0, EINA_FALSE);
ecore_wl2_window_damage(win, rects, count);
ecore_wl2_window_commit(s->info->info.wl2_win, EINA_TRUE);
ecore_wl2_window_commit(win, EINA_TRUE);
}
static struct wl_buffer *