added some casts in gluGetProcAddressEXT()

This commit is contained in:
Brian Paul 1999-09-16 22:37:56 +00:00
parent 1447677fa4
commit b9e8741c8f
1 changed files with 11 additions and 8 deletions

View File

@ -1,4 +1,4 @@
/* $Id: glu.c,v 1.8 1999/09/16 16:53:28 brianp Exp $ */ /* $Id: glu.c,v 1.9 1999/09/16 22:37:56 brianp Exp $ */
/* /*
* Mesa 3-D graphics library * Mesa 3-D graphics library
@ -23,6 +23,9 @@
/* /*
* $Log: glu.c,v $ * $Log: glu.c,v $
* Revision 1.9 1999/09/16 22:37:56 brianp
* added some casts in gluGetProcAddressEXT()
*
* Revision 1.8 1999/09/16 16:53:28 brianp * Revision 1.8 1999/09/16 16:53:28 brianp
* clean-up of GLU_EXT_get_proc_address * clean-up of GLU_EXT_get_proc_address
* *
@ -367,17 +370,17 @@ void GLAPIENTRY (*gluGetProcAddressEXT(const GLubyte *procName))()
void *address; void *address;
}; };
static struct proc procTable[] = { static struct proc procTable[] = {
{ "gluGetProcAddressEXT", gluGetProcAddressEXT }, /* me! */ { "gluGetProcAddressEXT", (void *) gluGetProcAddressEXT }, /* me! */
/* new 1.1 functions */ /* new 1.1 functions */
{ "gluGetString", gluGetString }, { "gluGetString", (void *) gluGetString },
/* new 1.2 functions */ /* new 1.2 functions */
{ "gluTessBeginPolygon", gluTessBeginPolygon }, { "gluTessBeginPolygon", (void *) gluTessBeginPolygon },
{ "gluTessBeginContour", gluTessBeginContour }, { "gluTessBeginContour", (void *) gluTessBeginContour },
{ "gluTessEndContour", gluTessEndContour }, { "gluTessEndContour", (void *) gluTessEndContour },
{ "gluTessEndPolygon", gluTessEndPolygon }, { "gluTessEndPolygon", (void *) gluTessEndPolygon },
{ "gluGetTessProperty", gluGetTessProperty }, { "gluGetTessProperty", (void *) gluGetTessProperty },
/* new 1.3 functions */ /* new 1.3 functions */