diff options
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_pipe.h')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_pipe.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/drivers/radeonsi/si_pipe.h b/src/gallium/drivers/radeonsi/si_pipe.h index f5d81b8835f..f0dc8a03bde 100644 --- a/src/gallium/drivers/radeonsi/si_pipe.h +++ b/src/gallium/drivers/radeonsi/si_pipe.h @@ -781,9 +781,8 @@ void si_init_viewport_functions(struct si_context *ctx); */ static inline void -si_context_add_resource_size(struct pipe_context *ctx, struct pipe_resource *r) +si_context_add_resource_size(struct si_context *sctx, struct pipe_resource *r) { - struct si_context *sctx = (struct si_context *)ctx; struct r600_resource *res = (struct r600_resource *)r; if (res) { |