summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/r600_blit.c
diff options
context:
space:
mode:
authorEdward O'Callaghan <[email protected]>2015-12-06 18:37:49 +1100
committerMarek Olšák <[email protected]>2015-12-06 11:52:16 +0100
commit7e43a280793af50e826fb6183670de8e3d427d74 (patch)
tree44803f7aec0b71810e39f5b330e315e8a9fe7220 /src/gallium/drivers/r600/r600_blit.c
parent0ef5c8ab7405fcc76b23393d4414f46cc9edb1fc (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/r600/r600_blit.c')
-rw-r--r--src/gallium/drivers/r600/r600_blit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/r600/r600_blit.c b/src/gallium/drivers/r600/r600_blit.c
index 8a90489318e..4468b078898 100644
--- a/src/gallium/drivers/r600/r600_blit.c
+++ b/src/gallium/drivers/r600/r600_blit.c
@@ -553,7 +553,7 @@ static void r600_copy_global_buffer(struct pipe_context *ctx,
src = (struct pipe_resource *)pool->bo;
} else {
if (item->real_buffer == NULL) {
- item->real_buffer = (struct r600_resource*)
+ item->real_buffer =
r600_compute_buffer_alloc_vram(pool->screen,
item->size_in_dw * 4);
}
@@ -570,7 +570,7 @@ static void r600_copy_global_buffer(struct pipe_context *ctx,
dst = (struct pipe_resource *)pool->bo;
} else {
if (item->real_buffer == NULL) {
- item->real_buffer = (struct r600_resource*)
+ item->real_buffer =
r600_compute_buffer_alloc_vram(pool->screen,
item->size_in_dw * 4);
}