summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Whitwell <keithw@vmware.com>2009-05-31 17:21:33 -0700
committerKeith Whitwell <keithw@vmware.com>2009-06-30 14:20:23 +0100
commit58340cb1841dfdc30e78771cd5329881a676d216 (patch)
tree34cecb0c20097dbde6c21733ac7e4b32de063fae
parentefc55156d46cf68f8eb246a1689796b90685b4bb (diff)
st_vbo: s/32/VERT_ATTRIB_MAX
-rw-r--r--src/mesa/state_tracker/st_vbo/st_vbo_context.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/state_tracker/st_vbo/st_vbo_context.h b/src/mesa/state_tracker/st_vbo/st_vbo_context.h
index 168c27ea468..e95fcc599f9 100644
--- a/src/mesa/state_tracker/st_vbo/st_vbo_context.h
+++ b/src/mesa/state_tracker/st_vbo/st_vbo_context.h
@@ -70,8 +70,8 @@ struct st_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[ST_VBO_ATTRIB_MAX]; /* points into ctx->Current, ctx->Light.Material */
GLfloat CurrentFloatEdgeFlag;