diff options
author | Keith Whitwell <keithw@vmware.com> | 2010-03-21 22:08:17 +0000 |
---|---|---|
committer | Keith Whitwell <keithw@vmware.com> | 2010-03-21 22:08:17 +0000 |
commit | 129a83ab4d32e44ded5faea3f86ae5e1e62cddb6 (patch) | |
tree | 846a39281ef1370ca419b47e116c8240e718fabe | |
parent | 575b35ee6b683d77095ef21c573c1de207107e79 (diff) |
pipebuffer: use transfer flag
-rw-r--r-- | src/gallium/auxiliary/pipebuffer/pb_bufmgr_cache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/pipebuffer/pb_bufmgr_cache.c b/src/gallium/auxiliary/pipebuffer/pb_bufmgr_cache.c index 0f2ae05dae..894f995e68 100644 --- a/src/gallium/auxiliary/pipebuffer/pb_bufmgr_cache.c +++ b/src/gallium/auxiliary/pipebuffer/pb_bufmgr_cache.c @@ -242,7 +242,7 @@ pb_cache_is_buffer_compat(struct pb_cache_buffer *buf, if(!pb_check_usage(desc->usage, buf->base.base.usage)) return FALSE; - map = pb_map(buf->buffer, PIPE_BUFFER_USAGE_DONTBLOCK); + map = pb_map(buf->buffer, PIPE_TRANSFER_DONTBLOCK); if (!map) { return FALSE; } |