diff options
-rw-r--r-- | src/uxa/uxa-damage.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/uxa/uxa-damage.c b/src/uxa/uxa-damage.c index 3449b97..2259a43 100644 --- a/src/uxa/uxa-damage.c +++ b/src/uxa/uxa-damage.c @@ -473,16 +473,6 @@ uxa_damage_copy_area(RegionPtr region, int dstx, int dsty) { - /* The driver will only call SourceValidate() when pSrc != pDst, - * but the software sprite (misprite.c) always need to know when a - * drawable is copied so it can remove the sprite. See #1030. */ - if ((pSrc == pDst) && pSrc->pScreen->SourceValidate && - pSrc->type == DRAWABLE_WINDOW && - ((WindowPtr)pSrc)->viewable) - { - (*pSrc->pScreen->SourceValidate) (pSrc, srcx, srcy, width, height); - } - if (checkGCDamage (pGC)) { BoxRec box; @@ -511,16 +501,6 @@ uxa_damage_copy_plane (RegionPtr region, int dsty, unsigned long bitPlane) { - /* The driver will only call SourceValidate() when pSrc != pDst, - * but the software sprite (misprite.c) always need to know when a - * drawable is copied so it can remove the sprite. See #1030. */ - if ((pSrc == pDst) && pSrc->pScreen->SourceValidate && - pSrc->type == DRAWABLE_WINDOW && - ((WindowPtr)pSrc)->viewable) - { - (*pSrc->pScreen->SourceValidate) (pSrc, srcx, srcy, width, height); - } - if (checkGCDamage (pGC)) { BoxRec box; |