summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/virgl/virgl_context.c
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2018-07-24 06:03:03 +1000
committerDave Airlie <[email protected]>2018-07-24 06:03:20 +1000
commit83332618c1e178c0ead93afc1d7cfc0a33438874 (patch)
tree80d254a085214211123668c238259e64bb0dd713 /src/gallium/drivers/virgl/virgl_context.c
parent69c2cd0b14634b28ba080f8a37b84ced0dbb8f6f (diff)
Revert "virgl: remove unused stride-arguments"
This reverts commit dc938b8398c0dafb60507e41685f7518b681c24d. This adds warnings in vtest, and possibly breaks it.
Diffstat (limited to 'src/gallium/drivers/virgl/virgl_context.c')
-rw-r--r--src/gallium/drivers/virgl/virgl_context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/virgl/virgl_context.c b/src/gallium/drivers/virgl/virgl_context.c
index 159a7b2814c..74b232fe6cf 100644
--- a/src/gallium/drivers/virgl/virgl_context.c
+++ b/src/gallium/drivers/virgl/virgl_context.c
@@ -71,7 +71,7 @@ static void virgl_buffer_flush(struct virgl_context *vctx,
vctx->num_transfers++;
rs->vws->transfer_put(rs->vws, vbuf->base.hw_res,
- &box, box.x, 0);
+ &box, 0, 0, box.x, 0);
util_range_set_empty(&vbuf->valid_buffer_range);
}