summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2011-01-20 11:30:14 -0800
committerIan Romanick <[email protected]>2011-01-20 11:30:14 -0800
commit22eeb1b331767abb29d03be2f11cfe9d8626c440 (patch)
treeedee447619c4157f2f16250bb2733a4358046f13 /src
parent887d2b647bae7f6536bab08649bad9f799995d08 (diff)
Fix the build from 887d2b64
Thanks to all the include frobbing, GLuint is not known in some places that included enums.h.
Diffstat (limited to 'src')
-rw-r--r--src/mesa/main/enums.c2
-rw-r--r--src/mesa/main/enums.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/enums.c b/src/mesa/main/enums.c
index e9d6b6b156c..83d7fb66c0a 100644
--- a/src/mesa/main/enums.c
+++ b/src/mesa/main/enums.c
@@ -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];
diff --git a/src/mesa/main/enums.h b/src/mesa/main/enums.h
index bf1d391d59e..7733df22f91 100644
--- a/src/mesa/main/enums.h
+++ b/src/mesa/main/enums.h
@@ -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 );