From c9da37f7a4586dfc1c70ba4b403bd9c77b74bb9a Mon Sep 17 00:00:00 2001 From: Oleg Dubinskiy Date: Sat, 10 Jan 2026 19:24:32 +0100 Subject: [PATCH] [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 --- win32ss/gdi/eng/gradient.c | 1 - 1 file changed, 1 deletion(-) diff --git a/win32ss/gdi/eng/gradient.c b/win32ss/gdi/eng/gradient.c index 68c45a3fb38..ff59322a764 100644 --- a/win32ss/gdi/eng/gradient.c +++ b/win32ss/gdi/eng/gradient.c @@ -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) {