summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers/python/p_context.i
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2009-03-24 21:21:37 +0000
committerJosé Fonseca <jfonseca@vmware.com>2009-03-25 21:03:15 +0000
commitad5f9752ce7dc7b588a98e0c1ac820a3f918b4d5 (patch)
tree87236bca03191ba55edb6a493247de14b83ccf60 /src/gallium/state_trackers/python/p_context.i
parent5381331f97e55db12cce30859a0156c69894f1d2 (diff)
python: s/pitch/stride/
Diffstat (limited to 'src/gallium/state_trackers/python/p_context.i')
-rw-r--r--src/gallium/state_trackers/python/p_context.i4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/python/p_context.i b/src/gallium/state_trackers/python/p_context.i
index 1fdbdf98b26..178ab0e24ef 100644
--- a/src/gallium/state_trackers/python/p_context.i
+++ b/src/gallium/state_trackers/python/p_context.i
@@ -151,7 +151,7 @@ struct st_context {
}
void set_vertex_buffer(unsigned index,
- unsigned pitch,
+ unsigned stride,
unsigned max_index,
unsigned buffer_offset,
struct st_buffer *buffer)
@@ -160,7 +160,7 @@ struct st_context {
struct pipe_vertex_buffer state;
memset(&state, 0, sizeof(state));
- state.stride = pitch;
+ state.stride = stride;
state.max_index = max_index;
state.buffer_offset = buffer_offset;
state.buffer = buffer ? buffer->buffer : NULL;