Module: Mesa
Branch: master
Commit: fcf93aa06d9894d2343c5d64c2c5342f8e2c6e60
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=fcf93aa06d9894d2343c5d64c2c5342f8e2c6e60

Author: Michal Krol <mic...@vmware.com>
Date:   Mon Mar 16 16:10:54 2009 +0100

python: pipe_vertex_buffer's pitch member has been renamed to stride.

---

 src/gallium/state_trackers/python/p_context.i |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gallium/state_trackers/python/p_context.i 
b/src/gallium/state_trackers/python/p_context.i
index 8960e63..7ddd2d5 100644
--- a/src/gallium/state_trackers/python/p_context.i
+++ b/src/gallium/state_trackers/python/p_context.i
@@ -160,7 +160,7 @@ struct st_context {
       struct pipe_vertex_buffer state;
       
       memset(&state, 0, sizeof(state));
-      state.pitch = pitch;
+      state.stride = pitch;
       state.max_index = max_index;
       state.buffer_offset = buffer_offset;
       state.buffer = buffer ? buffer->buffer : NULL;

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to