diff options
Diffstat (limited to 'src/gallium/drivers/r600/r600_uvd.c')
-rw-r--r-- | src/gallium/drivers/r600/r600_uvd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600_uvd.c b/src/gallium/drivers/r600/r600_uvd.c index 628ba2a4fe1..f1b1ca8113c 100644 --- a/src/gallium/drivers/r600/r600_uvd.c +++ b/src/gallium/drivers/r600/r600_uvd.c @@ -131,7 +131,7 @@ struct pipe_video_buffer *r600_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; } |