summaryrefslogtreecommitdiff
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
commit445e3cbd0dd2a526cb6628975f5351cbab3956a8 (patch)
tree4b1e806326b4556a11007477cf5ee6c3ab3ae2e4
parent38112f5b60e50cf8ba4cae18034c5ddc90bb2c12 (diff)
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.
-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 54eb836d53..0327ac2333 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);