summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno/freedreno_context.c
diff options
context:
space:
mode:
authorIlia Mirkin <[email protected]>2015-04-06 01:39:14 -0400
committerIlia Mirkin <[email protected]>2015-04-27 20:17:07 -0400
commit0a4cb00c7765dbe26a4dbfad3bb87d6c6ce03919 (patch)
tree3915303cbebf29c76045926e40cf5dfef3109596 /src/gallium/drivers/freedreno/freedreno_context.c
parentf5c110199675b7f4c50d4a7a64b6aac44c55d0a4 (diff)
freedreno: add fd_transfer to wrap around pipe_transfer
Signed-off-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/freedreno_context.c')
-rw-r--r--src/gallium/drivers/freedreno/freedreno_context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/freedreno/freedreno_context.c b/src/gallium/drivers/freedreno/freedreno_context.c
index 5fca57c5a3a..5d92da42e56 100644
--- a/src/gallium/drivers/freedreno/freedreno_context.c
+++ b/src/gallium/drivers/freedreno/freedreno_context.c
@@ -222,7 +222,7 @@ fd_context_init(struct fd_context *ctx, struct pipe_screen *pscreen,
util_dynarray_init(&ctx->draw_patches);
- util_slab_create(&ctx->transfer_pool, sizeof(struct pipe_transfer),
+ util_slab_create(&ctx->transfer_pool, sizeof(struct fd_transfer),
16, UTIL_SLAB_SINGLETHREADED);
fd_draw_init(pctx);