[Scummvm-git-logs] scummvm master -> 482c0757475bb096c2090018a1dc10df01362498

bgK bastien.bouclet at gmail.com
Sat Dec 30 19:40:51 CET 2017


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
482c075747 GRAPHICS: Fix incorrect call to blendFill in drawRoundedSquareShadowClip


Commit: 482c0757475bb096c2090018a1dc10df01362498
    https://github.com/scummvm/scummvm/commit/482c0757475bb096c2090018a1dc10df01362498
Author: Bastien Bouclet (bastien.bouclet at gmail.com)
Date: 2017-12-30T19:37:56+01:00

Commit Message:
GRAPHICS: Fix incorrect call to blendFill in drawRoundedSquareShadowClip

Was broken in commit 622adff628519c16991b4edacb7283660d1630e1.

Changed paths:
    graphics/VectorRendererSpec.cpp


diff --git a/graphics/VectorRendererSpec.cpp b/graphics/VectorRendererSpec.cpp
index 50ef669..68e7a0c 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;





More information about the Scummvm-git-logs mailing list