aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/draw/draw_pt_fetch_emit.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/gallium/auxiliary/draw/draw_pt_fetch_emit.c
parent4d710dd3cf3187e94e5765b46e4dd6899a7a41d6 (diff)
gallium: standardize on stride instead of pitch in the interface
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_pt_fetch_emit.c')
-rw-r--r--src/gallium/auxiliary/draw/draw_pt_fetch_emit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/draw/draw_pt_fetch_emit.c b/src/gallium/auxiliary/draw/draw_pt_fetch_emit.c
index 0227652632e..dcb7744b177 100644
--- a/src/gallium/auxiliary/draw/draw_pt_fetch_emit.c
+++ b/src/gallium/auxiliary/draw/draw_pt_fetch_emit.c
@@ -195,7 +195,7 @@ static void fetch_emit_prepare( struct draw_pt_middle_end *middle,
i,
((char *)draw->pt.user.vbuffer[i] +
draw->pt.vertex_buffer[i].buffer_offset),
- draw->pt.vertex_buffer[i].pitch );
+ draw->pt.vertex_buffer[i].stride );
}
*max_vertices = (draw->render->max_vertex_buffer_bytes /