diff options
author | Zhang <[email protected]> | 2007-07-21 11:28:06 -0600 |
---|---|---|
committer | Brian <[email protected]> | 2007-07-21 11:28:06 -0600 |
commit | 76fb8089103e9dba9aaa7232c86d864d5874a08f (patch) | |
tree | 1baf4612b24db10a597542b4fcdc33f8cc14ed6d /src/glu/sgi/libnurbs/interface/glsurfeval.cc | |
parent | af2aa8e9cf88a9ee3ec338eddc9a47bf2f142cb7 (diff) |
Fix a number of MINGW32 issues
Diffstat (limited to 'src/glu/sgi/libnurbs/interface/glsurfeval.cc')
-rw-r--r-- | src/glu/sgi/libnurbs/interface/glsurfeval.cc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/glu/sgi/libnurbs/interface/glsurfeval.cc b/src/glu/sgi/libnurbs/interface/glsurfeval.cc index a36b304508c..b5bfab1e281 100644 --- a/src/glu/sgi/libnurbs/interface/glsurfeval.cc +++ b/src/glu/sgi/libnurbs/interface/glsurfeval.cc @@ -1184,8 +1184,11 @@ return; } -void -OpenGLSurfaceEvaluator::putCallBack(GLenum which, _GLUfuncptr fn ) +#ifdef _WIN32 +void OpenGLSurfaceEvaluator::putCallBack(GLenum which, void (GLAPIENTRY *fn)() ) +#else +void OpenGLSurfaceEvaluator::putCallBack(GLenum which, _GLUfuncptr fn ) +#endif { switch(which) { |