[Wine-patches] [eter-2.1] gdiplus: Ignore gdiplus page and world transformations when creating a gdi32 clipping region. (eterbug #9086)

Dmitry Timoshkov dtimoshkov на etersoft.ru
Чт Мар 14 07:32:19 MSK 2013


(cherry picked from commit 61dafbb7012061fda7a737daf24340ce927ce2cc)
---
 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 853027c..f585b47 100644
--- a/dlls/gdiplus/graphics.c
+++ b/dlls/gdiplus/graphics.c
@@ -349,7 +349,7 @@ static void gdi_alpha_blend(GpGraphics *graphics, INT dst_x, INT dst_y, INT dst_
 
 static GpStatus get_clip_hrgn(GpGraphics *graphics, HRGN *hrgn)
 {
-    return GdipGetRegionHRgn(graphics->clip, graphics, hrgn);
+    return GdipGetRegionHRgn(graphics->clip, NULL, hrgn);
 }
 
 /* Draw non-premultiplied ARGB data to the given graphics object */
-- 
1.8.1.3



Подробная информация о списке рассылки Wine-patches