summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300/r300_blit.c
diff options
context:
space:
mode:
authorMarek Olšák <maraeo@gmail.com>2010-08-31 05:37:28 +0200
committerMarek Olšák <maraeo@gmail.com>2010-09-04 19:06:47 +0200
commit6e6409619002120f5a1584eaf3bc37853f734f2f (patch)
tree879e7cd2823fde963ad8c55868ad249074887370 /src/gallium/drivers/r300/r300_blit.c
parent58471c801a05e0e8783c798c4d9a4f18f67558b2 (diff)
r300g: remove unnecessary assignments
Diffstat (limited to 'src/gallium/drivers/r300/r300_blit.c')
-rw-r--r--src/gallium/drivers/r300/r300_blit.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/gallium/drivers/r300/r300_blit.c b/src/gallium/drivers/r300/r300_blit.c
index 47ffc0cb3c..77f0e273e1 100644
--- a/src/gallium/drivers/r300/r300_blit.c
+++ b/src/gallium/drivers/r300/r300_blit.c
@@ -391,9 +391,6 @@ static void r300_resource_copy_region(struct pipe_context *pipe,
r300_flush_depth_stencil(pipe, src, subsrc, srcz);
}
if (old_format != new_format) {
- dst->format = new_format;
- src->format = new_format;
-
r300_texture_reinterpret_format(pipe->screen,
dst, new_format);
r300_texture_reinterpret_format(pipe->screen,
@@ -404,9 +401,6 @@ static void r300_resource_copy_region(struct pipe_context *pipe,
src, subsrc, srcx, srcy, srcz, width, height);
if (old_format != new_format) {
- dst->format = old_format;
- src->format = old_format;
-
r300_texture_reinterpret_format(pipe->screen,
dst, old_format);
r300_texture_reinterpret_format(pipe->screen,