rpi: Initialize surface's list of views

dev
Tomeu Vizoso 11 years ago committed by Kristian Høgsberg
parent 1d7ad62768
commit 5c3ea3b71a
  1. 1
      src/rpi-renderer.c

@ -371,6 +371,7 @@ rpir_surface_create(struct rpi_renderer *renderer)
if (!surface)
return NULL;
wl_list_init(&surface->views);
surface->visible_views = 0;
surface->single_buffer = renderer->single_buffer;
rpi_resource_init(&surface->resources[0]);

Loading…
Cancel
Save