diff --git a/src/nv_driver.c b/src/nv_driver.c index 94c928b..cfe37a3 100644 --- a/src/nv_driver.c +++ b/src/nv_driver.c @@ -557,7 +557,11 @@ redisplay_dirty(ScreenPtr screen, PixmapDirtyUpdatePtr dirty) PixmapRegionInit(&pixregion, dirty->slave_dst); DamageRegionAppend(&dirty->slave_dst->drawable, &pixregion); +#ifdef HAS_DIRTYTRACKING_ROTATION + PixmapSyncDirtyHelper(dirty); +#else PixmapSyncDirtyHelper(dirty, &pixregion); +#endif DamageRegionProcessPending(&dirty->slave_dst->drawable); RegionUninit(&pixregion);