diff options
author | José Fonseca <[email protected]> | 2009-12-25 17:40:08 +0000 |
---|---|---|
committer | José Fonseca <[email protected]> | 2009-12-26 01:14:08 +0000 |
commit | 3f176bf08cd729d67a00d2bd073f29286b1f9a29 (patch) | |
tree | f793e977f9a7c32bedb284790608225f740f7e55 /src/gallium/drivers/trace/tr_screen.c | |
parent | 8b7552673f38b47abb432985e205785accdae5df (diff) |
trace: Fix transfer size computation.
Diffstat (limited to 'src/gallium/drivers/trace/tr_screen.c')
-rw-r--r-- | src/gallium/drivers/trace/tr_screen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/trace/tr_screen.c b/src/gallium/drivers/trace/tr_screen.c index ac20a47af1e..117503aaff6 100644 --- a/src/gallium/drivers/trace/tr_screen.c +++ b/src/gallium/drivers/trace/tr_screen.c @@ -426,7 +426,7 @@ trace_screen_transfer_unmap(struct pipe_screen *_screen, struct pipe_transfer *transfer = tr_trans->transfer; if(tr_trans->map) { - size_t size = util_format_get_nblocksy(transfer->texture->format, transfer->width) * transfer->stride; + size_t size = util_format_get_nblocksy(transfer->texture->format, transfer->height) * transfer->stride; trace_dump_call_begin("pipe_screen", "transfer_write"); |