rpi: EGL surfaces need to be swapped always that we have an incoming back buffer
This commit is contained in:
parent
15767813c2
commit
4424774782
@ -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…
Reference in New Issue
Block a user