diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2013-09-06 00:23:37 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-09-06 00:23:37 +0100 |
commit | 91b1f77da59ab7951e5d9aa09cbc0d2335d4c62a (patch) | |
tree | f53ebfcbc6c8fd6085867840d0925e7046ea1474 /tools | |
parent | 3979d11677bb4eb54099b9a8d0a28d4807828223 (diff) |
intel-virtual-output: Make the flush for recreating Damage explicit
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/virtual.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/virtual.c b/tools/virtual.c index 2262e555..5decd896 100644 --- a/tools/virtual.c +++ b/tools/virtual.c @@ -1760,7 +1760,6 @@ static int display_init_damage(struct display *display) if (display->damage == 0) return EACCES; - display->flush = 1; return 0; } @@ -1772,7 +1771,8 @@ static void display_reset_damage(struct display *display) if (damage) { XDamageDestroy(display->dpy, display->damage); display->damage = damage; - display->flush = 1; + XFlush(display->dpy); + display->flush = 0; } } |