diff options
Diffstat (limited to 'src/nv_shadow.c')
-rw-r--r-- | src/nv_shadow.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/nv_shadow.c b/src/nv_shadow.c index 3946448..58db331 100644 --- a/src/nv_shadow.c +++ b/src/nv_shadow.c @@ -13,6 +13,17 @@ #include "shadowfb.h" #include "servermd.h" +void +NVShadowUpdate (ScreenPtr pScreen, shadowBufPtr pBuf) +{ + RegionPtr damage = DamageRegion(pBuf->pDamage); + ScrnInfoPtr pScrn; + pScrn = xf86ScreenToScrn(pScreen); + + (NVPTR(pScrn))->refreshArea (pScrn, REGION_NUM_RECTS(damage), + REGION_RECTS(damage)); +} + void NVRefreshArea(ScrnInfoPtr pScrn, int num, BoxPtr pbox) |