diff options
author | Karl Schultz <kschultz@freedesktop.org> | 2001-09-21 20:39:03 +0000 |
---|---|---|
committer | Karl Schultz <kschultz@freedesktop.org> | 2001-09-21 20:39:03 +0000 |
commit | 019f139924f4dea98b253539c1d3c2720710f67f (patch) | |
tree | 10be21cd7bbe4c1a266e0ab6c88b0c4387f32994 /include | |
parent | 4c47f443f489f9adc13931a6c2bf3f75e26d0388 (diff) | |
download | glu-019f139924f4dea98b253539c1d3c2720710f67f.tar.gz |
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.
Diffstat (limited to 'include')
-rw-r--r-- | include/GL/glu.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); |