Change-Id: I3b3f34dc2c44e780e577fc7a1a8d03662065a9d5
/* Build a list of views in sorted z-order that are visible on the given output. */
pepper_list_for_each(view, &output->compositor->view_list, compositor_link)
{
- if (!view->active || !(view->output_overlap & (1 << output->id)) ||
- !view->surface || !view->surface->buffer.buffer)
+ if (!view->active || !(view->output_overlap & (1 << output->id)) || !view->surface)
{
/* Detach from the previously assigned plane. */
pepper_view_assign_plane(view, output, NULL);