From: Brian Paul Date: Tue, 12 Jul 2011 15:47:48 +0000 (-0600) Subject: u_upload_mgr: add missing offset to src map in u_upload_buffer() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8f6c207024c1458a70da3cbc9a9c9f48cf1a41df;p=mesa.git u_upload_mgr: add missing offset to src map in u_upload_buffer() Fixes regression from dda8d7ac3f0e5148d9738a57f7bc03216f6514d1 --- 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 );