summaryrefslogtreecommitdiffstats
path: root/src/glu/sgi/libnurbs/interface/glrenderer.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2001-08-07 17:34:10 +0000
committerBrian Paul <[email protected]>2001-08-07 17:34:10 +0000
commitb5797a50854994173ee05ee5803d3557c9538b23 (patch)
tree1d75ed0105343b18ea8d7d3a1da4839a2db89354 /src/glu/sgi/libnurbs/interface/glrenderer.h
parent696cd3d2b6f2a76183a596886c0f9b593bd03250 (diff)
Win32 fixes, etc. (Gerk Huisma)
Diffstat (limited to 'src/glu/sgi/libnurbs/interface/glrenderer.h')
-rw-r--r--src/glu/sgi/libnurbs/interface/glrenderer.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/glu/sgi/libnurbs/interface/glrenderer.h b/src/glu/sgi/libnurbs/interface/glrenderer.h
index 12402a0ea55..8773afcda30 100644
--- a/src/glu/sgi/libnurbs/interface/glrenderer.h
+++ b/src/glu/sgi/libnurbs/interface/glrenderer.h
@@ -35,8 +35,8 @@
/*
* glrenderer.h
*
- * $Date: 2001/07/16 15:46:42 $ $Revision: 1.2 $
- * $Header: /home/krh/git/sync/mesa-cvs-repo/Mesa/src/glu/sgi/libnurbs/interface/glrenderer.h,v 1.2 2001/07/16 15:46:42 brianp Exp $
+ * $Date: 2001/08/07 17:34:11 $ $Revision: 1.3 $
+ * $Header: /home/krh/git/sync/mesa-cvs-repo/Mesa/src/glu/sgi/libnurbs/interface/glrenderer.h,v 1.3 2001/08/07 17:34:11 brianp Exp $
*/
#ifndef __gluglrenderer_h_
@@ -73,8 +73,11 @@ public:
void (APIENTRY *errorCallback)( GLenum );
void postError( int which )
{ if (errorCallback) (errorCallback)( (GLenum)which ); }
-
+#ifdef _WIN32
+ void putSurfCallBack(GLenum which, void (GLAPIENTRY *fn)() )
+#else
void putSurfCallBack(GLenum which, _GLUfuncptr fn )
+#endif
{
curveEvaluator.putCallBack(which, fn);
surfaceEvaluator.putCallBack(which, fn);