diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2012-07-07 14:56:05 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2012-07-08 21:34:21 +0100 |
commit | 9a314d18cef1e08b23f9dca861ad2ba396bb1080 (patch) | |
tree | d5da966f6e7487ee3de1f2a7f1c914d90d85eaa0 /src | |
parent | 66a53c15cb5ee729fb43ea9713fd8538a3f982ad (diff) |
sna/dri: Add a couple of missing VG_CLEAR on vblanks
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src')
-rw-r--r-- | src/sna/sna_dri.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sna/sna_dri.c b/src/sna/sna_dri.c index beadf57e..6627847f 100644 --- a/src/sna/sna_dri.c +++ b/src/sna/sna_dri.c @@ -1630,6 +1630,7 @@ sna_dri_immediate_xchg(struct sna *sna, drmVBlank vbl; DBG(("%s: emitting immediate exchange, throttling client\n", __FUNCTION__)); + VG_CLEAR(vbl); if ((sna->flags & SNA_NO_WAIT) == 0) { info->type = DRI2_XCHG_THROTTLE; @@ -1678,6 +1679,7 @@ sna_dri_immediate_blit(struct sna *sna, drmVBlank vbl; DBG(("%s: emitting immediate blit, throttling client\n", __FUNCTION__)); + VG_CLEAR(vbl); if ((sna->flags & SNA_NO_WAIT) == 0) { info->type = DRI2_SWAP_THROTTLE; |