Fix the build from 887d2b64

Thanks to all the include frobbing, GLuint is not known in some places
that included enums.h.
This commit is contained in:
Ian Romanick
2011-01-20 11:30:14 -08:00
parent 887d2b647b
commit 22eeb1b331
2 changed files with 2 additions and 2 deletions

View File

@@ -6268,7 +6268,7 @@ static const char *prim_names[PRIM_UNKNOWN + 1] = {
* GL_FALSE/GL_POINTS ambiguity and others.
*/
const char *
_mesa_lookup_prim_by_nr(GLuint nr)
_mesa_lookup_prim_by_nr(unsigned nr)
{
if (nr < Elements(prim_names))
return prim_names[nr];

View File

@@ -45,7 +45,7 @@ extern const char *_mesa_lookup_enum_by_nr( int nr );
/* Get the name of an enum given that it is a primitive type. Avoids
* GL_FALSE/GL_POINTS ambiguity and others.
*/
const char *_mesa_lookup_prim_by_nr( GLuint nr );
const char *_mesa_lookup_prim_by_nr( unsigned nr );
extern int _mesa_lookup_enum_by_name( const char *symbol );