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