diff options
author | Zack Rusin <zack@tungstengraphics.com> | 2009-01-26 13:45:45 -0500 |
---|---|---|
committer | Zack Rusin <zackr@vmware.com> | 2009-01-27 12:20:25 -0500 |
commit | 872b515e8f0bb1be5bad85fd9d01529c71f07ba2 (patch) | |
tree | 1dd44e3d6777215ebde8bf620d599d80b2cf683f /src/gallium/auxiliary/draw/draw_pt_fetch.c | |
parent | 4d710dd3cf3187e94e5765b46e4dd6899a7a41d6 (diff) | |
download | external_mesa3d-872b515e8f0bb1be5bad85fd9d01529c71f07ba2.zip external_mesa3d-872b515e8f0bb1be5bad85fd9d01529c71f07ba2.tar.gz external_mesa3d-872b515e8f0bb1be5bad85fd9d01529c71f07ba2.tar.bz2 |
gallium: standardize on stride instead of pitch in the interface
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_pt_fetch.c')
-rw-r--r-- | src/gallium/auxiliary/draw/draw_pt_fetch.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/draw/draw_pt_fetch.c b/src/gallium/auxiliary/draw/draw_pt_fetch.c index 6377f89..058caf7 100644 --- a/src/gallium/auxiliary/draw/draw_pt_fetch.c +++ b/src/gallium/auxiliary/draw/draw_pt_fetch.c @@ -144,7 +144,7 @@ void draw_pt_fetch_run( struct pt_fetch *fetch, 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 ); } translate->run_elts( translate, @@ -180,7 +180,7 @@ void draw_pt_fetch_run_linear( struct pt_fetch *fetch, 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 ); } translate->run( translate, |