diff options
author | Marek Olšák <[email protected]> | 2016-06-21 21:13:00 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2016-06-25 23:13:42 +0200 |
commit | d5383a7d3114aa5f81a704ff84f58de6b41f94bd (patch) | |
tree | 77fcb982312396216e5e3edabaaa2c5a7669e5db /src/gallium/drivers/radeon/radeon_video.c | |
parent | 81978c6febd43b8a88a4db09133f9659e15b492c (diff) |
gallium/radeon: use r600_resource_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/radeon/radeon_video.c')
-rw-r--r-- | src/gallium/drivers/radeon/radeon_video.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeon/radeon_video.c b/src/gallium/drivers/radeon/radeon_video.c index aba1404d1cb..5b29c78192f 100644 --- a/src/gallium/drivers/radeon/radeon_video.c +++ b/src/gallium/drivers/radeon/radeon_video.c @@ -73,7 +73,7 @@ bool rvid_create_buffer(struct pipe_screen *screen, struct rvid_buffer *buffer, /* destroy a buffer */ void rvid_destroy_buffer(struct rvid_buffer *buffer) { - pipe_resource_reference((struct pipe_resource **)&buffer->res, NULL); + r600_resource_reference(&buffer->res, NULL); } /* reallocate a buffer, preserving its content */ |