summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKarl Schultz <kschultz@freedesktop.org>2001-09-21 20:39:03 +0000
committerKarl Schultz <kschultz@freedesktop.org>2001-09-21 20:39:03 +0000
commit019f139924f4dea98b253539c1d3c2720710f67f (patch)
tree10be21cd7bbe4c1a266e0ab6c88b0c4387f32994 /include
parent4c47f443f489f9adc13931a6c2bf3f75e26d0388 (diff)
downloadglu-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.h2
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);