forked from enlightenment/efl
wayland_shm: Don't attach null buffers from surface_post
This is protected against elsewhere.
This commit is contained in:
parent
51768ff62b
commit
5f0fa08467
|
@ -703,8 +703,6 @@ _evas_dmabuf_surface_post(Surface *s, Eina_Rectangle *rects, unsigned int count,
|
|||
_evas_surface_damage(wls, surface->compositor_version,
|
||||
b->w, b->h, rects, count);
|
||||
}
|
||||
else
|
||||
wl_surface_attach(wls, NULL, 0, 0);
|
||||
|
||||
ecore_wl2_window_commit(s->info->info.wl2_win, EINA_TRUE);
|
||||
}
|
||||
|
|
|
@ -555,8 +555,6 @@ _evas_shm_surface_post(Surface *s, Eina_Rectangle *rects, unsigned int count, Ei
|
|||
_evas_surface_damage(wls, surf->compositor_version,
|
||||
leaf->w, leaf->h, rects, count);
|
||||
}
|
||||
else
|
||||
wl_surface_attach(wls, NULL, 0, 0);
|
||||
|
||||
ecore_wl2_window_commit(s->info->info.wl2_win, EINA_TRUE);
|
||||
|
||||
|
|
Loading…
Reference in New Issue