Commit 10dfb4f3 authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

gdi32: Support stock brush in EMR_FILLRGN.

parent 1fa938c1
...@@ -2191,9 +2191,7 @@ BOOL WINAPI PlayEnhMetaFileRecord( ...@@ -2191,9 +2191,7 @@ BOOL WINAPI PlayEnhMetaFileRecord(
{ {
const EMRFILLRGN *pFillRgn = (const EMRFILLRGN *)mr; const EMRFILLRGN *pFillRgn = (const EMRFILLRGN *)mr;
HRGN hRgn = ExtCreateRegion(NULL, pFillRgn->cbRgnData, (const RGNDATA *)pFillRgn->RgnData); HRGN hRgn = ExtCreateRegion(NULL, pFillRgn->cbRgnData, (const RGNDATA *)pFillRgn->RgnData);
FillRgn(hdc, FillRgn(hdc, hRgn, get_object_handle(handletable, pFillRgn->ihBrush));
hRgn,
(handletable->objectHandle)[pFillRgn->ihBrush]);
DeleteObject(hRgn); DeleteObject(hRgn);
break; break;
} }
......
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