Added preliminary code to allow build specification of glu tesscallback with ... parameter

This commit is contained in:
Robert Osfield
2007-08-07 10:31:24 +00:00
parent eecd3e9257
commit f94bfa7589

View File

@@ -16,10 +16,15 @@
#if defined(__APPLE__) || defined (_AIX)
#include <OpenGL/glu.h>
#define GLU_TESS_CALLBACK GLvoid (CALLBACK*)(...)
#define GLU_CALLBACK_PARAMETER ...
#else
#include <GL/glu.h>
#define GLU_TESS_CALLBACK GLvoid (CALLBACK*)()
#endif
#if !defined(GLU_CALLBACK_PARAMETER)
#define GLU_CALLBACK_PARAMETER
#endif
#define GLU_TESS_CALLBACK GLvoid (CALLBACK*)(GLU_CALLBACK_PARAMETER)
#endif // __osgGLU_h