Module: Mesa
Branch: gallium-resources
Commit: 129a83ab4d32e44ded5faea3f86ae5e1e62cddb6
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=129a83ab4d32e44ded5faea3f86ae5e1e62cddb6

Author: Keith Whitwell <[email protected]>
Date:   Sun Mar 21 22:08:17 2010 +0000

pipebuffer: use transfer flag

---

 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 0f2ae05..894f995 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;
    }

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to