summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeon/r600_streamout.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2016-06-21 21:13:00 +0200
committerMarek Olšák <[email protected]>2016-06-25 23:13:42 +0200
commitd5383a7d3114aa5f81a704ff84f58de6b41f94bd (patch)
tree77fcb982312396216e5e3edabaaa2c5a7669e5db /src/gallium/drivers/radeon/r600_streamout.c
parent81978c6febd43b8a88a4db09133f9659e15b492c (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/r600_streamout.c')
-rw-r--r--src/gallium/drivers/radeon/r600_streamout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeon/r600_streamout.c b/src/gallium/drivers/radeon/r600_streamout.c
index eb818464c90..705eb13835d 100644
--- a/src/gallium/drivers/radeon/r600_streamout.c
+++ b/src/gallium/drivers/radeon/r600_streamout.c
@@ -70,7 +70,7 @@ static void r600_so_target_destroy(struct pipe_context *ctx,
{
struct r600_so_target *t = (struct r600_so_target*)target;
pipe_resource_reference(&t->b.buffer, NULL);
- pipe_resource_reference((struct pipe_resource**)&t->buf_filled_size, NULL);
+ r600_resource_reference(&t->buf_filled_size, NULL);
FREE(t);
}