forked from enlightenment/efl
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:
parent
6ce113791e
commit
7828d0e072
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue