From 9ed732584816168f63ecd37ab8a26a5ee495b628 Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Wed, 23 Jun 2010 01:35:11 +0200 Subject: r300g: attempt to fix texture corruption on RV505 --- src/gallium/drivers/r300/r300_transfer.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gallium/drivers/r300/r300_transfer.c') diff --git a/src/gallium/drivers/r300/r300_transfer.c b/src/gallium/drivers/r300/r300_transfer.c index d41f258836..02421a58b8 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* -- cgit v1.2.3