diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2004-11-27 20:07:08 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2004-11-27 20:07:08 +0000 |
commit | b5b8d22c4ee921dff99b898a5907023b20670a27 (patch) | |
tree | f86cfa06e3fbe8c3d73fc665e79294c0257d53ff /src/mesa/array_cache | |
parent | 0699b0bb171ffba453222154c4b2c047a30a2a8b (diff) |
Change the dispatch offsets for the VertexAttrib*NV functions so they don't
alias with the corresponding ARB functions.
GL_ARB_vertex_shader (and OpenGL 2.0's) VertexAttrib functions don't alias
with conventional vertex attributes, as GL_NV_vertex_program does.
So, the ARB and NV version of VertexAttrib need to be distinct.
Diffstat (limited to 'src/mesa/array_cache')
-rw-r--r-- | src/mesa/array_cache/ac_import.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/array_cache/ac_import.c b/src/mesa/array_cache/ac_import.c index c33a4e3fe1..0c66084f91 100644 --- a/src/mesa/array_cache/ac_import.c +++ b/src/mesa/array_cache/ac_import.c @@ -461,7 +461,7 @@ import_attrib( GLcontext *ctx, GLuint index, GLenum type, GLuint stride ) struct gl_client_array *to = &ac->Cache.Attrib[index]; (void) type; (void) stride; - ASSERT(index < VERT_ATTRIB_MAX); + ASSERT(index < MAX_VERTEX_PROGRAM_ATTRIBS); /* Limited choices at this stage: */ |