X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fmesa%2Fmain%2Fpolygon.h;h=13f7c91ed07599f48794d24f0e47d8cf69d6a8e2;hb=cfaf217135d8a8e903b3fbf380f18170df018f0c;hp=78e8394d0538e98f357a22d851099b8f22fb83a8;hpb=29c471aafc6a3fef23d553e31a555d1782854a77;p=mesa.git diff --git a/src/mesa/main/polygon.h b/src/mesa/main/polygon.h index 78e8394d053..13f7c91ed07 100644 --- a/src/mesa/main/polygon.h +++ b/src/mesa/main/polygon.h @@ -32,11 +32,12 @@ #define POLYGON_H -#include "mtypes.h" +#include "glheader.h" +struct gl_context; extern void -_mesa_polygon_stipple(GLcontext *ctx, const GLubyte *pattern); +_mesa_polygon_stipple(struct gl_context *ctx, const GLubyte *pattern); extern void GLAPIENTRY @@ -61,6 +62,6 @@ extern void GLAPIENTRY _mesa_GetPolygonStipple( GLubyte *mask ); extern void -_mesa_init_polygon( GLcontext * ctx ); +_mesa_init_polygon( struct gl_context * ctx ); #endif