diff options
author | Roland Scheidegger <sroland@vmware.com> | 2010-04-09 16:40:07 +0200 |
---|---|---|
committer | Roland Scheidegger <sroland@vmware.com> | 2010-04-09 16:40:07 +0200 |
commit | fdcb17bea4b0798d316b56deea69832f41142adf (patch) | |
tree | 79fc309d60e876a1449a5c07e95a6fd328482efc /src/gallium | |
parent | c95f7278ecc6db417ec1053279f2a8172c47aee9 (diff) |
gallium/pb: pb uses PB_USAGE_ flags, not PIPE_TRANSFER_ (same value anyway)
Diffstat (limited to 'src/gallium')
-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 894f995e68..88501e8d72 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_TRANSFER_DONTBLOCK); + map = pb_map(buf->buffer, PB_USAGE_DONTBLOCK); if (!map) { return FALSE; } |