[2/3] gdiplus: Set the wrap mode in the path gradient constructor.

Vincent Povirk madewokherd at gmail.com
Wed Apr 4 09:18:43 CDT 2012


-------------- next part --------------
From 88acb72bd1516e63dd05b852a098945899ca57c8 Mon Sep 17 00:00:00 2001
From: Vincent Povirk <vincent at codeweavers.com>
Date: Sat, 31 Mar 2012 13:19:40 -0500
Subject: [PATCH 2/3] gdiplus: Set the wrap mode in the path gradient
 constructor.

---
 dlls/gdiplus/brush.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/dlls/gdiplus/brush.c b/dlls/gdiplus/brush.c
index 41b38a0..359f4973 100644
--- a/dlls/gdiplus/brush.c
+++ b/dlls/gdiplus/brush.c
@@ -597,6 +597,9 @@ GpStatus WINGDIPAPI GdipCreatePathGradient(GDIPCONST GpPointF* points,
             GdipDeletePath(path);
     }
 
+    if (stat == Ok)
+        (*grad)->wrap = wrap;
+
     return stat;
 }
 
@@ -627,6 +630,9 @@ GpStatus WINGDIPAPI GdipCreatePathGradientI(GDIPCONST GpPoint* points,
             GdipDeletePath(path);
     }
 
+    if (stat == Ok)
+        (*grad)->wrap = wrap;
+
     return stat;
 }
 
-- 
1.7.9.1


More information about the wine-patches mailing list