d2d1: Implement d2d_solid_color_brush_GetColor().

This commit is contained in:
Henri Verbeet 2014-11-06 08:20:16 +01:00 committed by Alexandre Julliard
parent 94cd81a45d
commit fd8b3ae572
1 changed files with 3 additions and 3 deletions

View File

@ -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;
}