diff options
author | Edward O'Callaghan <[email protected]> | 2015-12-06 18:37:49 +1100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2015-12-06 11:52:16 +0100 |
commit | 7e43a280793af50e826fb6183670de8e3d427d74 (patch) | |
tree | 44803f7aec0b71810e39f5b330e315e8a9fe7220 /src/gallium/drivers/radeon | |
parent | 0ef5c8ab7405fcc76b23393d4414f46cc9edb1fc (diff) |
gallium/radeon*: Remove useless casts
These are unnecessary and are likely just left overs from prior
work.
Signed-off-by: Edward O'Callaghan <[email protected]>
Signed-off-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeon')
-rw-r--r-- | src/gallium/drivers/radeon/r600_texture.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeon/r600_texture.c b/src/gallium/drivers/radeon/r600_texture.c index e2947d9e351..88b799d87ee 100644 --- a/src/gallium/drivers/radeon/r600_texture.c +++ b/src/gallium/drivers/radeon/r600_texture.c @@ -1081,7 +1081,7 @@ static void *r600_texture_transfer_map(struct pipe_context *ctx, r600_copy_region_with_blit(ctx, temp, 0, 0, 0, 0, texture, level, box); rctx->blit_decompress_depth(ctx, (struct r600_texture*)temp, staging_depth, 0, 0, 0, box->depth, 0, 0); - pipe_resource_reference((struct pipe_resource**)&temp, NULL); + pipe_resource_reference(&temp, NULL); } } else { |