rpi: Initialize surface's list of views
This commit is contained in:
parent
1d7ad62768
commit
5c3ea3b71a
@ -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…
Reference in New Issue
Block a user