diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2003-09-17 03:40:11 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2003-09-17 03:40:11 +0000 |
commit | 148a2847a105ce9d9189ad3081091de60f803a33 (patch) | |
tree | 103a9c215249d036f6bd44ffb8db812ca903f3ad /src/mesa/main/nvprogram.c | |
parent | 4561f8418331f74cabf29649e9a4df7e92504a90 (diff) |
More work on ARB_vertex_buffer_object.
Use GLubyte * instead of void * for gl_client_array->Ptr to simplify upcoming
pointer arithmetic changes.
Diffstat (limited to 'src/mesa/main/nvprogram.c')
-rw-r--r-- | src/mesa/main/nvprogram.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/nvprogram.c b/src/mesa/main/nvprogram.c index db95638e26..2fb2077287 100644 --- a/src/mesa/main/nvprogram.c +++ b/src/mesa/main/nvprogram.c @@ -454,7 +454,7 @@ _mesa_GetVertexAttribivNV(GLuint index, GLenum pname, GLint *params) _mesa_error(ctx, GL_INVALID_ENUM, "glGetVertexAttribdvNV"); return; } - params[0] = ctx->Array.VertexAttrib[index].BufferBinding; + params[0] = ctx->Array.VertexAttrib[index].BufferObj->Name; break; default: _mesa_error(ctx, GL_INVALID_ENUM, "glGetVertexAttribdvNV"); |