diff options
author | Marek Olšák <[email protected]> | 2018-04-01 17:08:35 -0400 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2018-04-05 15:34:58 -0400 |
commit | e332ba61f40bc77d3104bd060bc7d1b18edd7e95 (patch) | |
tree | cbb8b86ddc3a119251cc97993491587e89d01188 /src/gallium/drivers/radeon/radeon_video.c | |
parent | c424f86180d8c0c2c0e6b18b34564c5dc0c53942 (diff) |
radeonsi: use si_context instead of pipe_context in parameters pt2
Acked-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeon/radeon_video.c')
-rw-r--r-- | src/gallium/drivers/radeon/radeon_video.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/radeon/radeon_video.c b/src/gallium/drivers/radeon/radeon_video.c index 3ae1d21cf1f..b2238fb113e 100644 --- a/src/gallium/drivers/radeon/radeon_video.c +++ b/src/gallium/drivers/radeon/radeon_video.c @@ -121,8 +121,8 @@ void si_vid_clear_buffer(struct pipe_context *context, struct rvid_buffer* buffe { struct si_context *sctx = (struct si_context*)context; - sctx->b.dma_clear_buffer(context, &buffer->res->b.b, 0, - buffer->res->buf->size, 0); + sctx->b.dma_clear_buffer(sctx, &buffer->res->b.b, 0, + buffer->res->buf->size, 0); context->flush(context, NULL, 0); } |