From da2b824aa6e37e866700319e94b84d6a65c14a69 Mon Sep 17 00:00:00 2001 From: Yuxuan Shui Date: Wed, 22 Apr 2020 20:24:15 +0100 Subject: [PATCH] backend: remove unneeded check for NVIDIA driver Signed-off-by: Yuxuan Shui --- src/backend/backend.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/backend.c b/src/backend/backend.c index 910c49ca..07f2f982 100644 --- a/src/backend/backend.c +++ b/src/backend/backend.c @@ -55,7 +55,7 @@ region_t get_damage(session_t *ps, bool all_damage) { /// paint all windows void paint_all_new(session_t *ps, struct managed_win *t, bool ignore_damage) { - if (ps->o.xrender_sync_fence || (ps->drivers & DRIVER_NVIDIA)) { + if (ps->o.xrender_sync_fence) { if (ps->xsync_exists && !x_fence_sync(ps->c, ps->sync_fence)) { log_error("x_fence_sync failed, xrender-sync-fence will be " "disabled from now on.");