projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b75526
)
trace: Fix transfer size computation.
author
José Fonseca
<jfonseca@vmware.com>
Fri, 25 Dec 2009 17:40:08 +0000
(17:40 +0000)
committer
José Fonseca
<jfonseca@vmware.com>
Sat, 26 Dec 2009 01:14:08 +0000
(
01:14
+0000)
src/gallium/drivers/trace/tr_screen.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/trace/tr_screen.c
b/src/gallium/drivers/trace/tr_screen.c
index ac20a47af1e75eafeb5dea8d3c057b7e44e2cb79..117503aaff694c8346e14fd53365362a7a2eb849 100644
(file)
--- 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");