summaryrefslogtreecommitdiff
path: root/driver/xf86-video-intel/src/sna/sna_accel.c
diff options
context:
space:
mode:
Diffstat (limited to 'driver/xf86-video-intel/src/sna/sna_accel.c')
-rw-r--r--driver/xf86-video-intel/src/sna/sna_accel.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/driver/xf86-video-intel/src/sna/sna_accel.c b/driver/xf86-video-intel/src/sna/sna_accel.c
index 0e8519534..502e1611d 100644
--- a/driver/xf86-video-intel/src/sna/sna_accel.c
+++ b/driver/xf86-video-intel/src/sna/sna_accel.c
@@ -17266,7 +17266,7 @@ static void sna_accel_post_damage(struct sna *sna)
continue;
src = dirty->src;
- dst = dirty->slave_dst->master_pixmap;
+ dst = dirty->secondary_dst->primary_pixmap;
region.extents.x1 = dirty->x;
region.extents.x2 = dirty->x + dst->drawable.width;
@@ -17293,7 +17293,7 @@ static void sna_accel_post_damage(struct sna *sna)
dy += dirty->dst_y;
#endif
RegionTranslate(&region, dx, dy);
- DamageRegionAppend(&dirty->slave_dst->drawable, &region);
+ DamageRegionAppend(&dirty->secondary_dst->drawable, &region);
DBG(("%s: slave: ((%d, %d), (%d, %d))x%d\n", __FUNCTION__,
region.extents.x1, region.extents.y1,
@@ -17363,7 +17363,7 @@ fallback:
flush = true;
}
- DamageRegionProcessPending(&dirty->slave_dst->drawable);
+ DamageRegionProcessPending(&dirty->secondary_dst->drawable);
skip:
RegionUninit(&region);
DamageEmpty(dirty->damage);