Henri Verbeet : d2d1: Implement d2d_solid_color_brush_GetColor().
Alexandre Julliard
julliard at wine.codeweavers.com
Thu Nov 6 09:22:40 CST 2014
Module: wine
Branch: master
Commit: fd8b3ae57298bff9dcb1c7db36a67d4d3818400f
URL: http://source.winehq.org/git/wine.git/?a=commit;h=fd8b3ae57298bff9dcb1c7db36a67d4d3818400f
Author: Henri Verbeet <hverbeet at codeweavers.com>
Date: Thu Nov 6 08:20:16 2014 +0100
d2d1: Implement d2d_solid_color_brush_GetColor().
---
dlls/d2d1/brush.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/d2d1/brush.c b/dlls/d2d1/brush.c
index 04b273a..eacbebb 100644
--- a/dlls/d2d1/brush.c
+++ b/dlls/d2d1/brush.c
@@ -252,11 +252,11 @@ static void STDMETHODCALLTYPE d2d_solid_color_brush_SetColor(ID2D1SolidColorBrus
static D2D1_COLOR_F * STDMETHODCALLTYPE d2d_solid_color_brush_GetColor(ID2D1SolidColorBrush *iface, D2D1_COLOR_F *color)
{
- static const D2D1_COLOR_F black = {0.0f, 0.0f, 0.0f, 1.0f};
+ struct d2d_brush *brush = impl_from_ID2D1SolidColorBrush(iface);
- FIXME("iface %p, color %p stub!\n", iface, color);
+ TRACE("iface %p, color %p.\n", iface, color);
- *color = black;
+ *color = brush->u.solid.color;
return color;
}
More information about the wine-cvs
mailing list