summaryrefslogtreecommitdiffstats
path: root/src/mesa/array_cache
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/array_cache')
-rw-r--r--src/mesa/array_cache/ac_import.c2
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 c33a4e3fe12..0c66084f919 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:
*/