diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2013-02-08 11:31:21 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-02-08 11:31:21 +0000 |
commit | ae5399aaf9ef57d33e8fd957e8a96964897c09b3 (patch) | |
tree | f38d099985015771e9efd70c26e679f1f5e457c7 /src | |
parent | c69b4389abc324533a9a311c17a667bf8a1e1673 (diff) |
sna: Force the fallback path for unaccelerated randr damage
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src')
-rw-r--r-- | src/sna/sna_display.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sna/sna_display.c b/src/sna/sna_display.c index 748417de..b24bad54 100644 --- a/src/sna/sna_display.c +++ b/src/sna/sna_display.c @@ -3264,7 +3264,8 @@ void sna_mode_redisplay(struct sna *sna) if (RegionNil(region)) return; - if (!sna_pixmap_move_to_gpu(sna->front, MOVE_READ)) { + if (!can_render(sna) || + !sna_pixmap_move_to_gpu(sna->front, MOVE_READ)) { if (!sna_pixmap_move_to_cpu(sna->front, MOVE_READ)) return; |