projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38112f5
)
Add GLAPIENTRY to typedef for callback functions (used by tessellator).
author
Karl Schultz
<kschultz@freedesktop.org>
Fri, 21 Sep 2001 20:39:03 +0000
(20:39 +0000)
committer
Karl Schultz
<kschultz@freedesktop.org>
Fri, 21 Sep 2001 20:39:03 +0000
(20:39 +0000)
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
patch
|
blob
|
history
diff --git
a/include/GL/glu.h
b/include/GL/glu.h
index 54eb836d53c528b8014296328d0db6275388aa5b..0327ac2333dd846e6ded9829d4be055a2430ef9a 100644
(file)
--- 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);