Commit 57ca6b90 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

gdiplus/metafile: Support serialized brushes in EmfPlusFillRects.

parent 6cde9952
......@@ -1852,8 +1852,12 @@ GpStatus WINGDIPAPI GdipPlayMetafileRecord(GDIPCONST GpMetafile *metafile,
}
else
{
FIXME("brush deserialization not implemented\n");
return NotImplemented;
if (record->BrushID >= EmfPlusObjectTableSize ||
real_metafile->objtable[record->BrushID].type != ObjectTypeBrush)
return InvalidParameter;
brush = real_metafile->objtable[record->BrushID].u.brush;
stat = Ok;
}
if (stat == Ok)
......
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