virgl: Fix build regression of commit 8a943564
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Wed, 5 Oct 2016 14:27:29 +0000 (16:27 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Wed, 5 Oct 2016 14:27:29 +0000 (16:27 +0200)
src/gallium/drivers/virgl/virgl_context.c

index e693a733a8901a80890cc1e8146ba6c5b78c2d51..bda9515d9b64ff260f7c79b88a142517d887ae5e 100644 (file)
@@ -943,7 +943,7 @@ struct pipe_context *virgl_context_create(struct pipe_screen *pscreen,
    virgl_init_so_functions(vctx);
 
    list_inithead(&vctx->to_flush_bufs);
-   slab_create_child(&vctx->texture_transfer_pool, rs->texture_transfer_pool);
+   slab_create_child(&vctx->texture_transfer_pool, &rs->texture_transfer_pool);
 
    vctx->primconvert = util_primconvert_create(&vctx->base, rs->caps.caps.v1.prim_mask);
    vctx->uploader = u_upload_create(&vctx->base, 1024 * 1024,