diff options
Diffstat (limited to 'src/sna/sna_dri.c')
-rw-r--r-- | src/sna/sna_dri.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sna/sna_dri.c b/src/sna/sna_dri.c index 3e8f5f97..8967ed9a 100644 --- a/src/sna/sna_dri.c +++ b/src/sna/sna_dri.c @@ -612,8 +612,9 @@ sna_dri_copy_to_front(struct sna *sna, DrawablePtr draw, RegionPtr region, DBG(("%s: flushing? %d\n", __FUNCTION__, flush)); if (flush) { /* STAT! */ + struct kgem_request *rq = sna->kgem.next_request; kgem_submit(&sna->kgem); - bo = kgem_get_last_request(&sna->kgem); + bo = rq->bo; } } |