Module: Mesa Branch: master Commit: 8f6c207024c1458a70da3cbc9a9c9f48cf1a41df URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8f6c207024c1458a70da3cbc9a9c9f48cf1a41df
Author: Brian Paul <bri...@vmware.com> Date: Tue Jul 12 09:47:48 2011 -0600 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 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 e50db6d..71fe53e 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 ); _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-commit