diff options
author | Marek Olšák <[email protected]> | 2010-12-19 04:17:43 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2010-12-20 17:42:55 +0100 |
commit | ec51092a72e2dff1e9b1362d813fe4691cda89b7 (patch) | |
tree | fbb984caeeae210ef08549577a486c7d997d956e /src/gallium/auxiliary/util/u_inlines.h | |
parent | c451aade889c3c0733fabab691f2a33643e8a054 (diff) |
gallium: remove unused 'buf' parameter in pipe_buffer_unmap
Diffstat (limited to 'src/gallium/auxiliary/util/u_inlines.h')
-rw-r--r-- | src/gallium/auxiliary/util/u_inlines.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/util/u_inlines.h b/src/gallium/auxiliary/util/u_inlines.h index e55aafe90f0..9184b6aa4db 100644 --- a/src/gallium/auxiliary/util/u_inlines.h +++ b/src/gallium/auxiliary/util/u_inlines.h @@ -242,7 +242,6 @@ pipe_buffer_map(struct pipe_context *pipe, static INLINE void pipe_buffer_unmap(struct pipe_context *pipe, - struct pipe_resource *buf, struct pipe_transfer *transfer) { if (transfer) { @@ -341,7 +340,7 @@ pipe_buffer_read(struct pipe_context *pipe, if (map) memcpy(data, map + offset, size); - pipe_buffer_unmap(pipe, buf, src_transfer); + pipe_buffer_unmap(pipe, src_transfer); } static INLINE struct pipe_transfer * |