-/* $Id: glu.c,v 1.23 2001/01/30 18:08:51 brianp Exp $ */
+/* $Id: glu.c,v 1.24 2001/03/20 17:56:10 brianp Exp $ */
/*
* Mesa 3-D graphics library
#endif
#define EPS 0.00001
-
+#ifndef GLU_INCOMPATIBLE_GL_VERSION
+#define GLU_INCOMPATIBLE_GL_VERSION 100903
+#endif
void GLAPIENTRY
void GLAPIENTRY
gluPickMatrix(GLdouble x, GLdouble y,
- GLdouble width, GLdouble height, const GLint viewport[4])
+ GLdouble width, GLdouble height, GLint viewport[4])
{
GLfloat m[16];
GLfloat sx, sy;
*/
#ifdef GLU_VERSION_1_3
GLboolean GLAPIENTRY
-gluCheckExtension(const char *extName, const GLubyte * extString)
+gluCheckExtension(const GLubyte *extName, const GLubyte * extString)
{
assert(extName);
assert(extString);
{
- const int len = strlen(extName);
+ const int len = strlen((const char *) extName);
const char *start = (const char *) extString;
while (1) {
- const char *c = strstr(start, extName);
+ const char *c = strstr(start, (const char *) extName);
if (!c)
return GL_FALSE;
-/* $Id: tess.c,v 1.25 2000/07/11 14:11:04 brianp Exp $ */
+/* $Id: tess.c,v 1.26 2001/03/20 17:56:10 brianp Exp $ */
/*
* Mesa 3-D graphics library
GLUtriangulatorObj *tobj;
if ((tobj = (GLUtriangulatorObj *)
- malloc(sizeof(struct GLUtriangulatorObj))) == NULL)
+ malloc(sizeof(struct GLUtesselator))) == NULL)
return NULL;
tobj->contours = tobj->last_contour = NULL;
init_callbacks(&tobj->callbacks);
-/* $Id: tess.h,v 1.17 2000/07/11 14:11:04 brianp Exp $ */
+/* $Id: tess.h,v 1.18 2001/03/20 17:56:10 brianp Exp $ */
/*
* Mesa 3-D graphics library
}
tess_polygon;
-struct GLUtriangulatorObj
+struct GLUtesselator
{
tess_contour *contours, *last_contour;
GLuint contour_cnt;