projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f2ca13
)
fix memory access error in vbo_bind_vertex_list
author
Xiang, Haihao
<haihao.xiang@intel.com>
Thu, 20 Sep 2007 09:37:04 +0000
(17:37 +0800)
committer
Xiang, Haihao
<haihao.xiang@intel.com>
Thu, 20 Sep 2007 09:37:04 +0000
(17:37 +0800)
src/mesa/vbo/vbo_save_draw.c
patch
|
blob
|
history
diff --git
a/src/mesa/vbo/vbo_save_draw.c
b/src/mesa/vbo/vbo_save_draw.c
index da7bc765b7ed0dfc38d57347ee9cf29241ffa573..ee6df226054a0247f424e0ea3856d2931c084b25 100644
(file)
--- 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 < V
BO
_ATTRIB_MAX; attr++) {
+ for (attr = 0; attr < V
ERT
_ATTRIB_MAX; attr++) {
GLuint src = map[attr];
if (node->attrsz[src]) {