wayland renderer: remove useless wl_surface_damage call

window->height is 0 at this point anyway...
This commit is contained in:
Dominique Martinet 2018-04-28 08:18:14 +09:00
parent 992e5add42
commit 3ae6ad7c48

View File

@ -321,7 +321,6 @@ bm_wl_window_create(struct window *window, struct wl_display *display, struct wl
window->shm = shm;
window->surface = surface;
wl_surface_damage(surface, 0, 0, window->width, window->height);
return true;
}