mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
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.
This commit is contained in:
parent
38112f5b60
commit
445e3cbd0d
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue