sna/present: Drop TearFree assert at the end of unflip

There are more reasons than just TearFree as to why the shadow may be
disabled (such as no outputs), so without taking those into account the
assert is bogus.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2017-06-07 11:05:25 +01:00
parent 405ca1e74c
commit 6babcf15dd
1 changed files with 0 additions and 2 deletions

View File

@ -899,8 +899,6 @@ notify:
swap->tv_sec, swap->tv_usec, (long long)swap->msc,
(long long)event_id));
present_event_notify(event_id, swap_ust(swap), swap->msc);
assert(!(sna->flags & SNA_TEAR_FREE) ||
sna->mode.shadow_enabled);
return;
}