aboutsummaryrefslogtreecommitdiff
path: root/graphics/VectorRendererSpec.cpp
diff options
context:
space:
mode:
authorBastien Bouclet2017-12-30 19:37:56 +0100
committerBastien Bouclet2017-12-30 19:37:56 +0100
commit482c0757475bb096c2090018a1dc10df01362498 (patch)
treea5ccbda833e1b1be8a2ef3087c17e90a16b3acfa /graphics/VectorRendererSpec.cpp
parent622adff628519c16991b4edacb7283660d1630e1 (diff)
downloadscummvm-rg350-482c0757475bb096c2090018a1dc10df01362498.tar.gz
scummvm-rg350-482c0757475bb096c2090018a1dc10df01362498.tar.bz2
scummvm-rg350-482c0757475bb096c2090018a1dc10df01362498.zip
GRAPHICS: Fix incorrect call to blendFill in drawRoundedSquareShadowClip
Was broken in commit 622adff628519c16991b4edacb7283660d1630e1.
Diffstat (limited to 'graphics/VectorRendererSpec.cpp')
-rw-r--r--graphics/VectorRendererSpec.cpp3
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;