backend: remove unneeded check for NVIDIA driver
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
parent
30dfc8e0ac
commit
da2b824aa6
|
@ -55,7 +55,7 @@ region_t get_damage(session_t *ps, bool all_damage) {
|
||||||
|
|
||||||
/// paint all windows
|
/// paint all windows
|
||||||
void paint_all_new(session_t *ps, struct managed_win *t, bool ignore_damage) {
|
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)) {
|
if (ps->xsync_exists && !x_fence_sync(ps->c, ps->sync_fence)) {
|
||||||
log_error("x_fence_sync failed, xrender-sync-fence will be "
|
log_error("x_fence_sync failed, xrender-sync-fence will be "
|
||||||
"disabled from now on.");
|
"disabled from now on.");
|
||||||
|
|
Loading…
Reference in New Issue