summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorHenri Verbeet <hverbeet@gmail.com>2010-09-19 19:27:30 +0200
committerHenri Verbeet <hverbeet@gmail.com>2010-09-19 19:43:05 +0200
commitde9c8015eb30bf8a7e8571e7ca85e985173b0695 (patch)
treec16beb705b37fdb04688a1d41dbb71f4d4fdc115 /src/gallium
parentb68030e9f8211e5905c81b4c7f8de5780f48b655 (diff)
r600g: Remove a redundant flush in r600_texture_transfer_map().
radeon_ws_bo_map() will already take care of that if needed.
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/r600/r600_texture.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600_texture.c b/src/gallium/drivers/r600/r600_texture.c
index 274679d1274..b7a12edc20b 100644
--- a/src/gallium/drivers/r600/r600_texture.c
+++ b/src/gallium/drivers/r600/r600_texture.c
@@ -325,7 +325,6 @@ void* r600_texture_transfer_map(struct pipe_context *ctx,
char *map;
int r;
- ctx->flush(ctx, 0, NULL);
if (rtransfer->linear_texture) {
bo = ((struct r600_resource *)rtransfer->linear_texture)->bo;
} else {