diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2003-09-15 19:55:10 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2003-09-15 19:55:10 +0000 |
commit | aa00d122b81a118eca3b43c66f17d988b1aa62d3 (patch) | |
tree | ab3e0baa83a5b4449fe27ea2af90f844d71026e9 /src/mesa/main/nvprogram.c | |
parent | b29b8ca47d322f1f93f5321be7529cf0c440c695 (diff) |
Some work on ARB_vertex_buffer_object.
Use GL_CLIENT_ACTIVE_TEXTURE when returning texcoord array values in get.c
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 a4af0eb80a3..db95638e263 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.VertexAttribArrayBufferBinding[index]; + params[0] = ctx->Array.VertexAttrib[index].BufferBinding; break; default: _mesa_error(ctx, GL_INVALID_ENUM, "glGetVertexAttribdvNV"); |