summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/ddebug/dd_draw.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/ddebug/dd_draw.c')
-rw-r--r--src/gallium/drivers/ddebug/dd_draw.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/ddebug/dd_draw.c b/src/gallium/drivers/ddebug/dd_draw.c
index c404ea0607..aa98f357b9 100644
--- a/src/gallium/drivers/ddebug/dd_draw.c
+++ b/src/gallium/drivers/ddebug/dd_draw.c
@@ -1480,6 +1480,7 @@ static void *
dd_context_transfer_map(struct pipe_context *_pipe,
struct pipe_resource *resource, unsigned level,
unsigned usage, const struct pipe_box *box,
+ unsigned user_stride,
struct pipe_transfer **transfer)
{
struct dd_context *dctx = dd_context(_pipe);
@@ -1492,7 +1493,7 @@ dd_context_transfer_map(struct pipe_context *_pipe,
dd_before_draw(dctx, record);
}
- void *ptr = pipe->transfer_map(pipe, resource, level, usage, box, transfer);
+ void *ptr = pipe->transfer_map(pipe, resource, level, usage, box, user_stride, transfer);
if (record) {
record->call.info.transfer_map.transfer_ptr = *transfer;
record->call.info.transfer_map.ptr = ptr;