mirror of
https://github.com/reactos/reactos.git
synced 2026-06-02 17:31:23 +08:00
[ENG] Fix behaviour of EngGradientFill() for rectangles
Don't offset the rectangle's top left point to the current dithering point, since it's already done now in Gre part of the function. This fixes broken gradient captions after the previous commit, in case when Drv implementation is not provided by a display/video driver and Eng function is used instead. CORE-14927, CORE-15341
This commit is contained in:
@@ -72,7 +72,6 @@ IntEngGradientFillRect(
|
||||
rcGradient.top = min(v1->y, v2->y);
|
||||
rcGradient.bottom = max(v1->y, v2->y);
|
||||
rcSG = rcGradient;
|
||||
RECTL_vOffsetRect(&rcSG, pptlDitherOrg->x, pptlDitherOrg->y);
|
||||
|
||||
if(Horizontal)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user