Output EMR_POLYGON16 records when possible.

This commit is contained in:
Mike McCormack 2004-12-21 14:49:19 +00:00 committed by Alexandre Julliard
parent f4205ad71f
commit 895d1b7160

View file

@ -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 );
}