util: fix copy_rect stride in default transfer_inline_write
This commit is contained in:
@@ -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:
|
||||||
|
Reference in New Issue
Block a user