exa: restore {x,y}{Src,Dst} to their original values when !done
This commit is contained in:
parent
b677bff97b
commit
87a016ae00
|
@ -911,6 +911,12 @@ exaComposite(CARD8 op,
|
||||||
|
|
||||||
if (ret)
|
if (ret)
|
||||||
goto done;
|
goto done;
|
||||||
|
|
||||||
|
/* Let's be correct and restore the variables to their original state. */
|
||||||
|
xDst -= pDst->pDrawable->x;
|
||||||
|
yDst -= pDst->pDrawable->y;
|
||||||
|
xSrc -= pSrc->pDrawable->x;
|
||||||
|
ySrc -= pSrc->pDrawable->y;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user