gdiplus: BrushTypeLinearGradient enabled.

onny onny at project-insanity.org
Wed Oct 6 12:44:28 CDT 2010


---
 dlls/gdiplus/graphics.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/gdiplus/graphics.c b/dlls/gdiplus/graphics.c
index 8e203f3..1112374 100644
--- a/dlls/gdiplus/graphics.c
+++ b/dlls/gdiplus/graphics.c
@@ -3993,7 +3993,7 @@ GpStatus WINGDIPAPI GdipDrawString(GpGraphics
*graphics, GDIPCONST WCHAR *string
     if(!graphics || !string || !font || !brush || !rect)
         return InvalidParameter;
 
-    if((brush->bt != BrushTypeSolidColor)){
+    if((brush->bt != BrushTypeSolidColor && brush->bt !=
BrushTypeLinearGradient)){
         FIXME("not implemented for given parameters\n");
         return NotImplemented;
     }
-- 
1.7.0.4

-- 
View this message in context: http://wine.1045685.n5.nabble.com/gdiplus-BrushTypeLinearGradient-enabled-tp3201795p3201795.html
Sent from the Wine - Patches mailing list archive at Nabble.com.



More information about the wine-patches mailing list