summaryrefslogtreecommitdiff
path: root/src/radeon_glamor_wrappers.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/radeon_glamor_wrappers.c')
-rw-r--r--src/radeon_glamor_wrappers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/radeon_glamor_wrappers.c b/src/radeon_glamor_wrappers.c
index 7a57bc13..ec81560c 100644
--- a/src/radeon_glamor_wrappers.c
+++ b/src/radeon_glamor_wrappers.c
@@ -113,7 +113,7 @@ radeon_glamor_prepare_access_cpu_ro(ScrnInfoPtr scrn, PixmapPtr pixmap,
return TRUE;
info = RADEONPTR(scrn);
- need_sync = radeon_glamor_gpu_pending(info->gpu_synced, priv->gpu_read);
+ need_sync = radeon_glamor_gpu_pending(info->gpu_synced, priv->gpu_write);
return radeon_glamor_prepare_access_cpu(scrn, RADEONPTR(scrn), pixmap,
priv, need_sync);
}