From 4424774782db2bd3ad884d25e7ba1e11dd45bfb9 Mon Sep 17 00:00:00 2001 From: Tomeu Vizoso Date: Thu, 24 Oct 2013 15:38:32 +0200 Subject: [PATCH] rpi: EGL surfaces need to be swapped always that we have an incoming back buffer --- src/rpi-renderer.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/rpi-renderer.c b/src/rpi-renderer.c index 2db619c9..6478838c 100644 --- a/src/rpi-renderer.c +++ b/src/rpi-renderer.c @@ -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); }