s/buffer/arrays/
diff --git a/src/mesa/main/arrayobj.c b/src/mesa/main/arrayobj.c
index 86f2e16..1fbcb99 100644
--- a/src/mesa/main/arrayobj.c
+++ b/src/mesa/main/arrayobj.c
@@ -109,7 +109,6 @@
{
GLuint i;
-
obj->Name = name;
/* Vertex arrays */
@@ -245,7 +244,6 @@
struct gl_array_object *newObj = NULL;
ASSERT_OUTSIDE_BEGIN_END(ctx);
-
ASSERT(oldObj != NULL);
if ( oldObj->Name == id )
@@ -353,13 +351,13 @@
/**
- * Generate a set of unique array object IDs and store them in \c buffer.
+ * Generate a set of unique array object IDs and store them in \c arrays.
*
* \param n Number of IDs to generate.
- * \param buffer Array of \c n locations to store the IDs.
+ * \param arrays Array of \c n locations to store the IDs.
*/
void GLAPIENTRY
-_mesa_GenVertexArraysAPPLE(GLsizei n, GLuint *buffer)
+_mesa_GenVertexArraysAPPLE(GLsizei n, GLuint *arrays)
{
GET_CURRENT_CONTEXT(ctx);
GLuint first;
@@ -371,7 +369,7 @@
return;
}
- if (!buffer) {
+ if (!arrays) {
return;
}
@@ -394,7 +392,7 @@
return;
}
_mesa_save_array_object(ctx, obj);
- buffer[i] = first + i;
+ arrays[i] = first + i;
}
_glthread_UNLOCK_MUTEX(ctx->Shared->Mutex);