rpi: EGL surfaces need to be swapped always that we have an incoming back buffer

This commit is contained in:
Tomeu Vizoso 2013-10-24 15:38:32 +02:00 committed by Kristian Høgsberg
parent 15767813c2
commit 4424774782

View File

@ -1255,7 +1255,8 @@ rpi_renderer_repaint_output(struct weston_output *base,
if (!wv->surface->touched) {
wv->surface->touched = 1;
if (view->surface->need_swap)
if (view->surface->buffer_type == BUFFER_TYPE_EGL ||
view->surface->need_swap)
rpir_surface_swap_pointers(view->surface);
}