diff options
author | Marek Olšák <[email protected]> | 2016-06-21 21:17:44 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2016-06-29 20:12:00 +0200 |
commit | 36cf5a57c2b53b50778482f7341b7afcdc434daf (patch) | |
tree | f0265c0dfdccffbc84cec3eaa8fee860394dfa1b /src/gallium/drivers/radeonsi/si_uvd.c | |
parent | 6da92df538824d72e68ed4e290da57f51b00064a (diff) |
gallium/radeon: add and use r600_texture_reference
Reviewed-by: Alex Deucher <[email protected]>
Reviewed-by: Vedran Miletić <[email protected]>
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_uvd.c')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_uvd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_uvd.c b/src/gallium/drivers/radeonsi/si_uvd.c index 8c3e5fd865d..0d5bc378b2b 100644 --- a/src/gallium/drivers/radeonsi/si_uvd.c +++ b/src/gallium/drivers/radeonsi/si_uvd.c @@ -113,7 +113,7 @@ struct pipe_video_buffer *si_video_buffer_create(struct pipe_context *pipe, error: for (i = 0; i < VL_NUM_COMPONENTS; ++i) - pipe_resource_reference((struct pipe_resource **)&resources[i], NULL); + r600_texture_reference(&resources[i], NULL); return NULL; } |