Commit fc4d1b9b authored by Keith Whitwell's avatar Keith Whitwell

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,
util_copy_rect(map,
resource->format,
transfer->stride, /* bytes? */
transfer->stride, /* bytes */
0, 0,
box->width,
box->height,
data,
box->width, /* bytes? texels? */
stride, /* bytes */
0, 0);
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