summaryrefslogtreecommitdiff
path: root/src/mesa/main/arrayobj.c
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2006-06-12 20:02:11 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2006-06-12 20:02:11 +0000
commit48c03d7c9fffd720b87195550951e6a4e8240a7d (patch)
tree9d09667da7f543f58b19975c12f036687cbd6803 /src/mesa/main/arrayobj.c
parentd2fb24a6714ca4eacaf50e8741fd9b012f7a3560 (diff)
s/buffer/arrays/
Diffstat (limited to 'src/mesa/main/arrayobj.c')
-rw-r--r--src/mesa/main/arrayobj.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/mesa/main/arrayobj.c b/src/mesa/main/arrayobj.c
index 86f2e16319..1fbcb9961f 100644
--- a/src/mesa/main/arrayobj.c
+++ b/src/mesa/main/arrayobj.c
@@ -109,7 +109,6 @@ _mesa_initialize_array_object( GLcontext *ctx,
{
GLuint i;
-
obj->Name = name;
/* Vertex arrays */
@@ -245,7 +244,6 @@ _mesa_BindVertexArrayAPPLE( GLuint id )
struct gl_array_object *newObj = NULL;
ASSERT_OUTSIDE_BEGIN_END(ctx);
-
ASSERT(oldObj != NULL);
if ( oldObj->Name == id )
@@ -353,13 +351,13 @@ _mesa_DeleteVertexArraysAPPLE(GLsizei n, const GLuint *ids)
/**
- * 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 @@ _mesa_GenVertexArraysAPPLE(GLsizei n, GLuint *buffer)
return;
}
- if (!buffer) {
+ if (!arrays) {
return;
}
@@ -394,7 +392,7 @@ _mesa_GenVertexArraysAPPLE(GLsizei n, GLuint *buffer)
return;
}
_mesa_save_array_object(ctx, obj);
- buffer[i] = first + i;
+ arrays[i] = first + i;
}
_glthread_UNLOCK_MUTEX(ctx->Shared->Mutex);