aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2019-03-08 08:07:23 -0700
committerBrian Paul <[email protected]>2019-03-08 08:07:24 -0700
commit2c387819f4b19a6da1255c63a7b2746feed2f9d9 (patch)
tree3507b56a526b0aa626f45ad9c10092225f9a9472 /src/gallium
parentd4381cf5939cd344af16197074e56555d8b5e738 (diff)
pipebuffer: s/PB_ALL_USAGE_FLAGS/PB_USAGE_ALL/
To fix build failure. I guess my meson configuration has assertions disabled for some reason. Trivial fix.
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/auxiliary/pipebuffer/pb_bufmgr_debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/pipebuffer/pb_bufmgr_debug.c b/src/gallium/auxiliary/pipebuffer/pb_bufmgr_debug.c
index 7101fdc269b..3f501c298ce 100644
--- a/src/gallium/auxiliary/pipebuffer/pb_bufmgr_debug.c
+++ b/src/gallium/auxiliary/pipebuffer/pb_bufmgr_debug.c
@@ -303,7 +303,7 @@ pb_debug_buffer_validate(struct pb_buffer *_buf,
{
struct pb_debug_buffer *buf = pb_debug_buffer(_buf);
- assert((flags & ~PB_ALL_USAGE_FLAGS) == 0);
+ assert((flags & ~PB_USAGE_ALL) == 0);
mtx_lock(&buf->mutex);
if(buf->map_count) {