wayland_egl: Fix rendering on systems without buffer age

If buffer age isn't present we really want to return MODE_FULL, but we were
previously returning MODE_AUTO.

On recent mali drivers this resulted in accidental partial updates leading
to incorrect rendering.
This commit is contained in:
Derek Foreman 2016-08-17 16:22:54 -05:00
parent 6ce113791e
commit 7828d0e072
1 changed files with 1 additions and 0 deletions

View File

@ -388,6 +388,7 @@ eng_outbuf_swap_mode_get(Outbuf *ob)
return swap_mode;
}
if (ob->swap_mode == MODE_AUTO) return MODE_FULL;
return ob->swap_mode;
}