summaryrefslogtreecommitdiff
path: root/lib/mesa/src/gallium/auxiliary/util/u_suballoc.h
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2015-11-22 02:46:45 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2015-11-22 02:46:45 +0000
commit3e40341f9dcd7c1bbc9afb8ddb812304820396cf (patch)
tree274b3f522afe1da16ab2b5347758c908bc23fac4 /lib/mesa/src/gallium/auxiliary/util/u_suballoc.h
parent7b644ad52b574bec410d557155d666ac17fdf51a (diff)
import Mesa 11.0.6
Diffstat (limited to 'lib/mesa/src/gallium/auxiliary/util/u_suballoc.h')
-rw-r--r--lib/mesa/src/gallium/auxiliary/util/u_suballoc.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/mesa/src/gallium/auxiliary/util/u_suballoc.h b/lib/mesa/src/gallium/auxiliary/util/u_suballoc.h
index e35382f04..1f5550ffa 100644
--- a/lib/mesa/src/gallium/auxiliary/util/u_suballoc.h
+++ b/lib/mesa/src/gallium/auxiliary/util/u_suballoc.h
@@ -34,8 +34,8 @@
struct u_suballocator;
struct u_suballocator *
-u_suballocator_create(struct pipe_context *pipe, unsigned size, unsigned bind,
- enum pipe_resource_usage usage, unsigned flags,
+u_suballocator_create(struct pipe_context *pipe, unsigned size,
+ unsigned alignment, unsigned bind, unsigned usage,
boolean zero_buffer_memory);
void
@@ -43,7 +43,6 @@ u_suballocator_destroy(struct u_suballocator *allocator);
void
u_suballocator_alloc(struct u_suballocator *allocator, unsigned size,
- unsigned alignment, unsigned *out_offset,
- struct pipe_resource **outbuf);
+ unsigned *out_offset, struct pipe_resource **outbuf);
#endif