Haoyang Chen : gdiplus: Fix texture brush rotation.
Alexandre Julliard
julliard at winehq.org
Mon Oct 12 15:20:50 CDT 2020
Module: wine
Branch: master
Commit: 2697b74d6753a4bf528659047c2ce971f39fb6e5
URL: https://source.winehq.org/git/wine.git/?a=commit;h=2697b74d6753a4bf528659047c2ce971f39fb6e5
Author: Haoyang Chen <chenhaoyang at uniontech.com>
Date: Fri Oct 9 10:24:54 2020 +0800
gdiplus: Fix texture brush rotation.
Signed-off-by: Haoyang Chen <chenhaoyang at uniontech.com>
Signed-off-by: Esme Povirk <esme at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/gdiplus/graphics.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/gdiplus/graphics.c b/dlls/gdiplus/graphics.c
index 1615f592d5..190f45d64a 100644
--- a/dlls/gdiplus/graphics.c
+++ b/dlls/gdiplus/graphics.c
@@ -1374,7 +1374,7 @@ static GpStatus brush_fill_pixels(GpGraphics *graphics, GpBrush *brush,
{
GpPointF point;
point.X = draw_points[0].X + x * x_dx + y * y_dx;
- point.Y = draw_points[0].Y + y * x_dy + y * y_dy;
+ point.Y = draw_points[0].Y + x * x_dy + y * y_dy;
argb_pixels[x + y*cdwStride] = resample_bitmap_pixel(
&src_area, fill->bitmap_bits, bitmap->width, bitmap->height,
More information about the wine-cvs
mailing list