summaryrefslogtreecommitdiffstats
path: root/src/glu/mesa/quadric.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2000-02-10 17:45:52 +0000
committerBrian Paul <[email protected]>2000-02-10 17:45:52 +0000
commit577c67e860a70ba7b39322676b951d32f7583182 (patch)
treea520cbfbd4d7fcb5a724f3b2b471e55394eba35a /src/glu/mesa/quadric.c
parent46a5936f54142816a4ec068502790643a32006f9 (diff)
added GLCALLBACKPCAST for Cygnus (Sven Panne)
Diffstat (limited to 'src/glu/mesa/quadric.c')
-rw-r--r--src/glu/mesa/quadric.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/glu/mesa/quadric.c b/src/glu/mesa/quadric.c
index 0458e97be75..943c885a598 100644
--- a/src/glu/mesa/quadric.c
+++ b/src/glu/mesa/quadric.c
@@ -1,4 +1,4 @@
-/* $Id: quadric.c,v 1.6 2000/01/11 22:01:08 brianp Exp $ */
+/* $Id: quadric.c,v 1.7 2000/02/10 17:45:52 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -153,7 +153,7 @@ void GLAPIENTRY gluQuadricCallback( GLUquadricObj *qobj,
*/
if (qobj && which==GLU_ERROR) {
#ifdef __CYGWIN32__
- qobj->ErrorFunc = (void(*)(int))fn;
+ qobj->ErrorFunc = (void(GLCALLBACKPCAST)(GLenum))fn;
#elif defined(OPENSTEP)
qobj->ErrorFunc = (void(*)(GLenum))fn;
#elif defined(_WIN32)