diff options
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/VectorRendererSpec.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/VectorRendererSpec.cpp b/graphics/VectorRendererSpec.cpp index 50ef669315..68e7a0ce14 100644 --- a/graphics/VectorRendererSpec.cpp +++ b/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; |