util: fix copy_rect stride in default transfer_inline_write

This commit is contained in:
Keith Whitwell
2010-05-08 14:16:46 +01:00
parent 52c554a79d
commit fc4d1b9ba9

View File

@@ -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: