diff options
Diffstat (limited to 'src/gallium/auxiliary/pipebuffer/pb_buffer_malloc.c')
-rw-r--r-- | src/gallium/auxiliary/pipebuffer/pb_buffer_malloc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/pipebuffer/pb_buffer_malloc.c b/src/gallium/auxiliary/pipebuffer/pb_buffer_malloc.c index ea2f2fa107c..d83e8e4f180 100644 --- a/src/gallium/auxiliary/pipebuffer/pb_buffer_malloc.c +++ b/src/gallium/auxiliary/pipebuffer/pb_buffer_malloc.c @@ -70,7 +70,7 @@ malloc_buffer_destroy(struct pb_buffer *buf) static void * malloc_buffer_map(struct pb_buffer *buf, - unsigned flags, + enum pb_usage_flags flags, void *flush_ctx) { return malloc_buffer(buf)->data; @@ -87,7 +87,7 @@ malloc_buffer_unmap(struct pb_buffer *buf) static enum pipe_error malloc_buffer_validate(struct pb_buffer *buf, struct pb_validate *vl, - unsigned flags) + enum pb_usage_flags flags) { assert(0); return PIPE_ERROR; |