wineps: Fall through to the null driver for Polyline and Polygon.

This commit is contained in:
Alexandre Julliard 2011-12-05 22:29:46 +01:00
parent 25e300dcad
commit d45eb00abc
3 changed files with 2 additions and 22 deletions

View File

@ -350,15 +350,6 @@ BOOL PSDRV_PolyPolyline( PHYSDEV dev, const POINT* pts, const DWORD* counts, DWO
}
/***********************************************************************
* PSDRV_Polyline
*/
BOOL PSDRV_Polyline( PHYSDEV dev, const POINT* pt, INT count )
{
return PSDRV_PolyPolyline( dev, pt, (LPDWORD) &count, 1 );
}
/***********************************************************************
* PSDRV_PolyPolygon
*/
@ -401,15 +392,6 @@ BOOL PSDRV_PolyPolygon( PHYSDEV dev, const POINT* pts, const INT* counts, UINT p
}
/***********************************************************************
* PSDRV_Polygon
*/
BOOL PSDRV_Polygon( PHYSDEV dev, const POINT* pt, INT count )
{
return PSDRV_PolyPolygon( dev, pt, &count, 1 );
}
/***********************************************************************
* PSDRV_PolyBezier
*/

View File

@ -897,8 +897,8 @@ static const struct gdi_dc_funcs psdrv_funcs =
NULL, /* pPolyDraw */
PSDRV_PolyPolygon, /* pPolyPolygon */
PSDRV_PolyPolyline, /* pPolyPolyline */
PSDRV_Polygon, /* pPolygon */
PSDRV_Polyline, /* pPolyline */
NULL, /* pPolygon */
NULL, /* pPolyline */
NULL, /* pPolylineTo */
PSDRV_PutImage, /* pPutImage */
NULL, /* pRealizeDefaultPalette */

View File

@ -450,8 +450,6 @@ extern BOOL PSDRV_PolyBezier( PHYSDEV dev, const POINT *pts, DWORD count ) DECLS
extern BOOL PSDRV_PolyBezierTo( PHYSDEV dev, const POINT *pts, DWORD count ) DECLSPEC_HIDDEN;
extern BOOL PSDRV_PolyPolygon( PHYSDEV dev, const POINT* pts, const INT* counts, UINT polygons ) DECLSPEC_HIDDEN;
extern BOOL PSDRV_PolyPolyline( PHYSDEV dev, const POINT* pts, const DWORD* counts, DWORD polylines ) DECLSPEC_HIDDEN;
extern BOOL PSDRV_Polygon( PHYSDEV dev, const POINT* pt, INT count ) DECLSPEC_HIDDEN;
extern BOOL PSDRV_Polyline( PHYSDEV dev, const POINT* pt, INT count ) DECLSPEC_HIDDEN;
extern DWORD PSDRV_PutImage( PHYSDEV dev, HBITMAP hbitmap, HRGN clip, BITMAPINFO *info,
const struct gdi_image_bits *bits, struct bitblt_coords *src,
struct bitblt_coords *dst, DWORD rop ) DECLSPEC_HIDDEN;