aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/include/pipe/p_state.h
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/include/pipe/p_state.h
parent4d710dd3cf3187e94e5765b46e4dd6899a7a41d6 (diff)
gallium: standardize on stride instead of pitch in the interface
Diffstat (limited to 'src/gallium/include/pipe/p_state.h')
-rw-r--r--src/gallium/include/pipe/p_state.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/include/pipe/p_state.h b/src/gallium/include/pipe/p_state.h
index abe7cbe9e7c..46f62abf3fa 100644
--- a/src/gallium/include/pipe/p_state.h
+++ b/src/gallium/include/pipe/p_state.h
@@ -337,7 +337,7 @@ struct pipe_texture
*/
struct pipe_vertex_buffer
{
- unsigned pitch; /**< stride to same attrib in next vertex, in bytes */
+ unsigned stride; /**< stride to same attrib in next vertex, in bytes */
unsigned max_index; /**< number of vertices in this buffer */
unsigned buffer_offset; /**< offset to start of data in buffer, in bytes */
struct pipe_buffer *buffer; /**< the actual buffer */