summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-05-22 14:22:40 -0600
committerBrian Paul <brianp@vmware.com>2009-05-22 14:22:40 -0600
commitb625fbaef2564236357f94eca803a15187e2636d (patch)
tree29b2a9e30f5a9f3de98393fdd491ae48695c7d46
parentebb991ca0d7de103dc068397ed91744bf40ee58f (diff)
vbo: s/32/VERT_ATTRIB_MAX/
-rw-r--r--src/mesa/vbo/vbo_context.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/vbo/vbo_context.h b/src/mesa/vbo/vbo_context.h
index 7e366d474d..8b726dc8ac 100644
--- a/src/mesa/vbo/vbo_context.h
+++ b/src/mesa/vbo/vbo_context.h
@@ -68,8 +68,8 @@ struct vbo_context {
struct gl_client_array *generic_currval;
struct gl_client_array *mat_currval;
- GLuint map_vp_none[32];
- GLuint map_vp_arb[32];
+ GLuint map_vp_none[VERT_ATTRIB_MAX];
+ GLuint map_vp_arb[VERT_ATTRIB_MAX];
GLfloat *current[VBO_ATTRIB_MAX]; /* points into ctx->Current, ctx->Light.Material */
GLfloat CurrentFloatEdgeFlag;