mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-16 11:36:02 +00:00
gdi32: Support stock brush in EMR_FILLRGN.
This commit is contained in:
parent
1fa938c17e
commit
10dfb4f3b7
|
@ -2191,9 +2191,7 @@ BOOL WINAPI PlayEnhMetaFileRecord(
|
|||
{
|
||||
const EMRFILLRGN *pFillRgn = (const EMRFILLRGN *)mr;
|
||||
HRGN hRgn = ExtCreateRegion(NULL, pFillRgn->cbRgnData, (const RGNDATA *)pFillRgn->RgnData);
|
||||
FillRgn(hdc,
|
||||
hRgn,
|
||||
(handletable->objectHandle)[pFillRgn->ihBrush]);
|
||||
FillRgn(hdc, hRgn, get_object_handle(handletable, pFillRgn->ihBrush));
|
||||
DeleteObject(hRgn);
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue