summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/util
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2011-07-12 09:47:48 -0600
committerBrian Paul <[email protected]>2011-07-12 09:48:01 -0600
commit8f6c207024c1458a70da3cbc9a9c9f48cf1a41df (patch)
tree997719772f024b26c163fbb85631f901dbfbb666 /src/gallium/auxiliary/util
parent1ab5e1524258042e26c769221f61da16403d0cf6 (diff)
u_upload_mgr: add missing offset to src map in u_upload_buffer()
Fixes regression from dda8d7ac3f0e5148d9738a57f7bc03216f6514d1
Diffstat (limited to 'src/gallium/auxiliary/util')
-rw-r--r--src/gallium/auxiliary/util/u_upload_mgr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/util/u_upload_mgr.c b/src/gallium/auxiliary/util/u_upload_mgr.c
index e50db6d67fe..71fe53e3a27 100644
--- a/src/gallium/auxiliary/util/u_upload_mgr.c
+++ b/src/gallium/auxiliary/util/u_upload_mgr.c
@@ -257,7 +257,7 @@ enum pipe_error u_upload_buffer( struct u_upload_mgr *upload,
ret = u_upload_data( upload,
min_out_offset,
size,
- map,
+ map + offset,
out_offset,
outbuf, flushed );