diff options
author | Zack Rusin <[email protected]> | 2009-01-26 13:45:45 -0500 |
---|---|---|
committer | Zack Rusin <[email protected]> | 2009-01-27 12:20:25 -0500 |
commit | 872b515e8f0bb1be5bad85fd9d01529c71f07ba2 (patch) | |
tree | 1dd44e3d6777215ebde8bf620d599d80b2cf683f /src/gallium/drivers/i965simple | |
parent | 4d710dd3cf3187e94e5765b46e4dd6899a7a41d6 (diff) |
gallium: standardize on stride instead of pitch in the interface
Diffstat (limited to 'src/gallium/drivers/i965simple')
-rw-r--r-- | src/gallium/drivers/i965simple/brw_draw_upload.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/i965simple/brw_draw_upload.c b/src/gallium/drivers/i965simple/brw_draw_upload.c index 7c20ea52af5..2d9ca3f2ea0 100644 --- a/src/gallium/drivers/i965simple/brw_draw_upload.c +++ b/src/gallium/drivers/i965simple/brw_draw_upload.c @@ -223,7 +223,7 @@ boolean brw_upload_vertex_buffers( struct brw_context *brw ) break; } - vbp.vb[i].vb0.bits.pitch = brw->vb.vbo_array[i]->pitch; + vbp.vb[i].vb0.bits.pitch = brw->vb.vbo_array[i]->stride; vbp.vb[i].vb0.bits.pad = 0; vbp.vb[i].vb0.bits.access_type = BRW_VERTEXBUFFER_ACCESS_VERTEXDATA; vbp.vb[i].vb0.bits.vb_index = i; |