Permalink
Browse files

GRAPHICS: Fix incorrect call to blendFill in drawRoundedSquareShadowClip

Was broken in commit 622adff.
  • Loading branch information...
bgK committed Dec 30, 2017
1 parent 622adff commit 482c0757475bb096c2090018a1dc10df01362498
Showing with 2 additions and 1 deletion.
  1. +2 −1 graphics/VectorRendererSpec.cpp
@@ -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;

0 comments on commit 482c075

Please sign in to comment.