From 019f139924f4dea98b253539c1d3c2720710f67f Mon Sep 17 00:00:00 2001 From: Karl Schultz Date: Fri, 21 Sep 2001 20:39:03 +0000 Subject: Add GLAPIENTRY to typedef for callback functions (used by tessellator). This is important now that we're using __stdcall instead of the (default) __cdecl on WIN32. This gets apps using the tessellator working again on Windows. --- include/GL/glu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/GL/glu.h b/include/GL/glu.h index 54eb836..0327ac2 100644 --- a/include/GL/glu.h +++ b/include/GL/glu.h @@ -258,7 +258,7 @@ typedef struct GLUtesselator GLUtriangulatorObj; #define GLU_TESS_MAX_COORD 1.0e150 /* Internal convenience typedefs */ -typedef void (*_GLUfuncptr)(); +typedef void (GLAPIENTRY *_GLUfuncptr)(); GLAPI void GLAPIENTRY gluBeginCurve (GLUnurbs* nurb); GLAPI void GLAPIENTRY gluBeginPolygon (GLUtesselator* tess); -- cgit v1.2.1