diff --git a/src/gallium/auxiliary/postprocess/pp_run.c b/src/gallium/auxiliary/postprocess/pp_run.c index 7e57f02c23f..02239450477 100644 --- a/src/gallium/auxiliary/postprocess/pp_run.c +++ b/src/gallium/auxiliary/postprocess/pp_run.c @@ -229,7 +229,7 @@ pp_filter_setup_out(struct pp_program *p, struct pipe_resource *out) void pp_filter_end_pass(struct pp_program *p) { - pipe_sampler_view_reference(&p->view, NULL); + pipe_sampler_view_release_ptr(&p->view); } /**