Skip to content

Commit

Permalink
wayland renderer: remove useless wl_surface_damage call
Browse files Browse the repository at this point in the history
window->height is 0 at this point anyway...
  • Loading branch information
martinetd committed Apr 29, 2018
1 parent 992e5ad commit 3ae6ad7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/renderers/wayland/window.c
Expand Up @@ -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;
}

Expand Down

0 comments on commit 3ae6ad7

Please sign in to comment.