aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_draw_feedback.c
diff options
context:
space:
mode:
authorZack Rusin <[email protected]>2009-01-26 13:45:45 -0500
committerZack Rusin <[email protected]>2009-01-27 12:20:25 -0500
commit872b515e8f0bb1be5bad85fd9d01529c71f07ba2 (patch)
tree1dd44e3d6777215ebde8bf620d599d80b2cf683f /src/mesa/state_tracker/st_draw_feedback.c
parent4d710dd3cf3187e94e5765b46e4dd6899a7a41d6 (diff)
gallium: standardize on stride instead of pitch in the interface
Diffstat (limited to 'src/mesa/state_tracker/st_draw_feedback.c')
-rw-r--r--src/mesa/state_tracker/st_draw_feedback.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_draw_feedback.c b/src/mesa/state_tracker/st_draw_feedback.c
index 834c3844c4f..5c9c4506c22 100644
--- a/src/mesa/state_tracker/st_draw_feedback.c
+++ b/src/mesa/state_tracker/st_draw_feedback.c
@@ -171,7 +171,7 @@ st_feedback_draw_vbo(GLcontext *ctx,
}
/* common-case setup */
- vbuffers[attr].pitch = arrays[mesaAttr]->StrideB; /* in bytes */
+ vbuffers[attr].stride = arrays[mesaAttr]->StrideB; /* in bytes */
vbuffers[attr].max_index = max_index;
velements[attr].vertex_buffer_index = attr;
velements[attr].nr_components = arrays[mesaAttr]->Size;