summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/sna/sna_accel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/sna_accel.c b/src/sna/sna_accel.c
index 6eafd265..fab0637c 100644
--- a/src/sna/sna_accel.c
+++ b/src/sna/sna_accel.c
@@ -17814,7 +17814,7 @@ restart:
if (sna_scanout_do_flush(sna))
sna_scanout_flush(sna);
assert(sna_accel_scanout(sna) == NULL ||
- sna_accel_scanout(sna)->gpu_bo->needs_flush == NULL ||
+ !sna_accel_scanout(sna)->gpu_bo->needs_flush ||
sna->timer_active & (1<<(FLUSH_TIMER)));
if (sna_accel_do_throttle(sna))