rpi: Initialize surface's list of views

This commit is contained in:
Tomeu Vizoso 2013-10-24 15:38:30 +02:00 committed by Kristian Høgsberg
parent 1d7ad62768
commit 5c3ea3b71a

View File

@ -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]);