GRAPHICS: Fix incorrect call to blendFill in drawRoundedSquareShadowClip

Was broken in commit 622adff628.
This commit is contained in:
Bastien Bouclet 2017-12-30 19:37:56 +01:00
parent 622adff628
commit 482c075747

View file

@ -3739,7 +3739,8 @@ drawRoundedSquareShadowClip(int x1, int y1, int r, int w, int h, int offset) {
occludingRect.right, y2);
}
} else {
blendFill(ptr_fill + shadowRect.left, ptr_fill + shadowRect.right + 1, color, (uint8)alpha);
blendFillClip(ptr_fill + shadowRect.left, ptr_fill + shadowRect.right + 1, color, (uint8)alpha,
shadowRect.left, y2);
}
ptr_fill += pitch;