Commit 168dd496 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

d2d1: Implement d2d_bitmap_brush_GetBitmap().

parent b313680a
......@@ -596,7 +596,12 @@ static D2D1_BITMAP_INTERPOLATION_MODE STDMETHODCALLTYPE d2d_bitmap_brush_GetInte
static void STDMETHODCALLTYPE d2d_bitmap_brush_GetBitmap(ID2D1BitmapBrush *iface, ID2D1Bitmap **bitmap)
{
FIXME("iface %p, bitmap %p stub!\n", iface, bitmap);
struct d2d_brush *brush = impl_from_ID2D1BitmapBrush(iface);
TRACE("iface %p, bitmap %p.\n", iface, bitmap);
if ((*bitmap = &brush->u.bitmap.bitmap->ID2D1Bitmap_iface))
ID2D1Bitmap_AddRef(*bitmap);
}
static const struct ID2D1BitmapBrushVtbl d2d_bitmap_brush_vtbl =
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment