mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-09 23:22:22 +00:00
Call SourceValidate even if src == dst
The extra SourceValidate calls from damageCopyArea and damageCopyPlane can be removed. Signed-off-by: Ville Syrjälä <ville.syrjala@nokia.com> Reviewed-by: Keith Packard <keithp@keithp.com> Reviewed-by: Daniel Stone <daniel@fooishbar.org> Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
e41e907b3c
commit
0998574699
4 changed files with 3 additions and 28 deletions
|
|
@ -54,8 +54,7 @@ XAABitBlt(
|
|||
origDest.x = dstx;
|
||||
origDest.y = dsty;
|
||||
|
||||
if((pSrcDrawable != pDstDrawable) &&
|
||||
pSrcDrawable->pScreen->SourceValidate) {
|
||||
if (pSrcDrawable->pScreen->SourceValidate) {
|
||||
(*pSrcDrawable->pScreen->SourceValidate) (
|
||||
pSrcDrawable, srcx, srcy, width, height,
|
||||
pGC->subWindowMode);
|
||||
|
|
|
|||
Loading…
Reference in a new issue