Mesa (gallium-mesa-7.4): python: pipe_vertex_buffer' s pitch member has been renamed to stride.

Jose Fonseca jrfonseca at kemper.freedesktop.org
Tue Mar 24 21:07:08 UTC 2009


Module: Mesa
Branch: gallium-mesa-7.4
Commit: f1fa6138aa753dbdf369b232e4bd741b19abd354
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f1fa6138aa753dbdf369b232e4bd741b19abd354

Author: Michal Krol <michal at 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 9ed497e..0ac2efa 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;




More information about the mesa-commit mailing list