uxa: Skip adjusting mask coordinates when no mask is present.
Quiets clang warnings about garbage variable usage.
This commit is contained in:
parent
a86869e6c3
commit
6bdab84176
|
|
@ -860,8 +860,10 @@ uxa_try_driver_composite(CARD8 op,
|
|||
nbox = REGION_NUM_RECTS(®ion);
|
||||
pbox = REGION_RECTS(®ion);
|
||||
|
||||
xMask = xMask + mask_off_x - xDst - dst_off_x;
|
||||
yMask = yMask + mask_off_y - yDst - dst_off_y;
|
||||
if (pMask) {
|
||||
xMask = xMask + mask_off_x - xDst - dst_off_x;
|
||||
yMask = yMask + mask_off_y - yDst - dst_off_y;
|
||||
}
|
||||
|
||||
xSrc = xSrc + src_off_x - xDst - dst_off_x;
|
||||
ySrc = ySrc + src_off_y - yDst - dst_off_y;
|
||||
|
|
|
|||
Loading…
Reference in New Issue