backend: update present interface for partial updates

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
Yuxuan Shui
2019-07-25 20:44:35 +01:00
parent bc3ca92e04
commit f86d6b7cbd
4 changed files with 8 additions and 8 deletions

View File

@ -285,7 +285,7 @@ void paint_all_new(session_t *ps, struct managed_win *t, bool ignore_damage) {
if (ps->backend_data->ops->present) {
// Present the rendered scene
// Vsync is done here
ps->backend_data->ops->present(ps->backend_data);
ps->backend_data->ops->present(ps->backend_data, NULL);
}
#ifdef DEBUG_REPAINT