summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/glu/mesa/tess.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/glu/mesa/tess.c b/src/glu/mesa/tess.c
index 202aee4dd1b..9a865d01f7b 100644
--- a/src/glu/mesa/tess.c
+++ b/src/glu/mesa/tess.c
@@ -1,4 +1,4 @@
-/* $Id: tess.c,v 1.12 1999/10/11 17:48:53 gareth Exp $ */
+/* $Id: tess.c,v 1.13 1999/10/11 17:53:09 gareth Exp $ */
/*
* Mesa 3-D graphics library
@@ -26,6 +26,9 @@
/*
* $Log: tess.c,v $
+ * Revision 1.13 1999/10/11 17:53:09 gareth
+ * Renamed GLUtesselator user data pointer to avoid confusion.
+ *
* Revision 1.12 1999/10/11 17:48:53 gareth
* Correctly initialized GLUtesselator user data pointer.
*
@@ -135,7 +138,7 @@ GLUtesselator* GLAPIENTRY gluNewTess( void )
tobj->grid = NULL;
#endif
tobj->cvc_lists = NULL;
- tobj->user_data = NULL;
+ tobj->data = NULL;
tobj->label = 0;
tobj->error = GLU_NO_ERROR;
@@ -623,7 +626,7 @@ void tess_error_callback( GLUtesselator *tobj, GLenum errnum )
if ( tobj->callbacks.errorData != NULL )
{
- ( tobj->callbacks.errorData )( errnum, tobj->user_data );
+ ( tobj->callbacks.errorData )( errnum, tobj->data );
}
else if ( tobj->callbacks.error != NULL )
{