mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-18 11:58:14 +00:00
Output EMR_POLYGON16 records when possible.
This commit is contained in:
parent
f4205ad71f
commit
895d1b7160
|
@ -459,6 +459,8 @@ BOOL
|
|||
EMFDRV_Polygon( PHYSDEV dev, const POINT* pt, INT count )
|
||||
{
|
||||
if(count < 2) return FALSE;
|
||||
if( EMFDRV_Polylinegon16( dev, pt, count, EMR_POLYGON16 ) )
|
||||
return TRUE;
|
||||
return EMFDRV_Polylinegon( dev, pt, count, EMR_POLYGON );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue