summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/r600_blit.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2011-06-19 19:42:22 +0200
committerMarek Olšák <[email protected]>2011-06-19 21:09:18 +0200
commit8623c68aec95e0883308051068b3496a85e8b9ea (patch)
treed27d3c0482ec7b505bfd06689904aaf4313c67d0 /src/gallium/drivers/r600/r600_blit.c
parent0d58723cde31703f13f2e8e0747cde30b9e5d6de (diff)
r600g: fix warning: assignment discards qualifiers from pointer target type
Diffstat (limited to 'src/gallium/drivers/r600/r600_blit.c')
-rw-r--r--src/gallium/drivers/r600/r600_blit.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600_blit.c b/src/gallium/drivers/r600/r600_blit.c
index e858ea212ea..6171d285bb9 100644
--- a/src/gallium/drivers/r600/r600_blit.c
+++ b/src/gallium/drivers/r600/r600_blit.c
@@ -294,7 +294,8 @@ static void r600_resource_copy_region(struct pipe_context *ctx,
{
struct r600_resource_texture *rsrc = (struct r600_resource_texture*)src;
struct texture_orig_info orig_info[2];
- struct pipe_box sbox, *psbox;
+ struct pipe_box sbox;
+ const struct pipe_box *psbox;
boolean restore_orig[2];
/* Fallback for buffers. */