[PATCH 2/5] rpi: Initialize surface's list of views

Tomeu Vizoso tomeu at tomeuvizoso.net
Thu Oct 24 15:38:30 CEST 2013


---
 src/rpi-renderer.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/rpi-renderer.c b/src/rpi-renderer.c
index ea48b08..0b99a60 100644
--- a/src/rpi-renderer.c
+++ b/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]);
-- 
1.8.3.1



More information about the wayland-devel mailing list