sna/dri2: Allow xchg to replace the frontbuffer when all outputs are off

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2014-06-08 14:48:20 +01:00
parent 9306a148cb
commit 6153141fa6
1 changed files with 1 additions and 1 deletions

View File

@ -1497,7 +1497,7 @@ can_xchg(struct sna * sna,
return false;
}
if (pixmap == sna->front && !(sna->flags & SNA_TEAR_FREE)) {
if (pixmap == sna->front && !(sna->flags & SNA_TEAR_FREE) && sna->mode.front_active) {
DBG(("%s: no, front buffer, requires flipping\n",
__FUNCTION__));
return false;