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

dev
Tomeu Vizoso 11 years ago committed by Kristian Høgsberg
parent 15767813c2
commit 4424774782
  1. 3
      src/rpi-renderer.c

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

Loading…
Cancel
Save