summaryrefslogtreecommitdiffstats
path: root/src/mesa/vbo/vbo_save_draw.c
diff options
context:
space:
mode:
authorXiang, Haihao <haihao.xiang@intel.com>2007-09-20 17:37:04 +0800
committerXiang, Haihao <haihao.xiang@intel.com>2007-09-20 17:37:04 +0800
commit8fc1a6808d88bd1dd641751f2f50c867a05dcc07 (patch)
tree4f32165d8f05b54dc1039730755338da4199c764 /src/mesa/vbo/vbo_save_draw.c
parent6f2ca13f903508e50946f525fc01d862cd8bd1f5 (diff)
downloadexternal_mesa3d-8fc1a6808d88bd1dd641751f2f50c867a05dcc07.zip
external_mesa3d-8fc1a6808d88bd1dd641751f2f50c867a05dcc07.tar.gz
external_mesa3d-8fc1a6808d88bd1dd641751f2f50c867a05dcc07.tar.bz2
fix memory access error in vbo_bind_vertex_list
Diffstat (limited to 'src/mesa/vbo/vbo_save_draw.c')
-rw-r--r--src/mesa/vbo/vbo_save_draw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/vbo/vbo_save_draw.c b/src/mesa/vbo/vbo_save_draw.c
index da7bc76..ee6df22 100644
--- a/src/mesa/vbo/vbo_save_draw.c
+++ b/src/mesa/vbo/vbo_save_draw.c
@@ -131,7 +131,7 @@ static void vbo_bind_vertex_list( GLcontext *ctx,
break;
}
- for (attr = 0; attr < VBO_ATTRIB_MAX; attr++) {
+ for (attr = 0; attr < VERT_ATTRIB_MAX; attr++) {
GLuint src = map[attr];
if (node->attrsz[src]) {