Commit fc4d1b9b authored by Keith Whitwell's avatar Keith Whitwell
Browse files

util: fix copy_rect stride in default transfer_inline_write

parent 52c554a7
...@@ -35,12 +35,12 @@ void u_default_transfer_inline_write( struct pipe_context *pipe, ...@@ -35,12 +35,12 @@ void u_default_transfer_inline_write( struct pipe_context *pipe,
util_copy_rect(map, util_copy_rect(map,
resource->format, resource->format,
transfer->stride, /* bytes? */ transfer->stride, /* bytes */
0, 0, 0, 0,
box->width, box->width,
box->height, box->height,
data, data,
box->width, /* bytes? texels? */ stride, /* bytes */
0, 0); 0, 0);
out: out:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment