From 8f6c207024c1458a70da3cbc9a9c9f48cf1a41df Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 12 Jul 2011 09:47:48 -0600 Subject: [PATCH] u_upload_mgr: add missing offset to src map in u_upload_buffer() Fixes regression from dda8d7ac3f0e5148d9738a57f7bc03216f6514d1 --- src/gallium/auxiliary/util/u_upload_mgr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); -- 2.30.2