From: Eric Anholt Date: Sun, 3 Jan 2016 01:33:19 +0000 (-0800) Subject: vc4: Fix build from upload changes. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=64253fdb2eda545a4988c02a60627a9840c79907;p=mesa.git vc4: Fix build from upload changes. --- diff --git a/src/gallium/drivers/vc4/vc4_resource.c b/src/gallium/drivers/vc4/vc4_resource.c index 308fb9fc77b..036da329987 100644 --- a/src/gallium/drivers/vc4/vc4_resource.c +++ b/src/gallium/drivers/vc4/vc4_resource.c @@ -921,7 +921,7 @@ vc4_get_shadow_index_buffer(struct pipe_context *pctx, void *data; struct pipe_resource *shadow_rsc = NULL; - u_upload_alloc(vc4->uploader, 0, count * 2, 4,; + u_upload_alloc(vc4->uploader, 0, count * 2, 4, shadow_offset, &shadow_rsc, &data); uint16_t *dst = data;