summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarek Olšák <maraeo@gmail.com>2010-06-23 01:35:11 +0200
committerMarek Olšák <maraeo@gmail.com>2010-06-23 01:35:11 +0200
commit9ed732584816168f63ecd37ab8a26a5ee495b628 (patch)
tree2e6f67b9f9dad251c23fec64eae12b3e143fa163
parentd84bf6d44dcac8cf8babb6ddce05cbc8f76db24c (diff)
r300g: attempt to fix texture corruption on RV505
-rw-r--r--src/gallium/drivers/r300/r300_transfer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_transfer.c b/src/gallium/drivers/r300/r300_transfer.c
index d41f2588369..02421a58b83 100644
--- a/src/gallium/drivers/r300/r300_transfer.c
+++ b/src/gallium/drivers/r300/r300_transfer.c
@@ -80,6 +80,8 @@ static void r300_copy_into_tiled_texture(struct pipe_context *ctx,
&r300transfer->detiled_texture->b.b, subsrc,
0, 0, 0,
transfer->box.width, transfer->box.height);
+
+ ctx->flush(ctx, 0, NULL);
}
struct pipe_transfer*