From: Henri Verbeet Date: Sun, 19 Sep 2010 17:27:30 +0000 (+0200) Subject: r600g: Remove a redundant flush in r600_texture_transfer_map(). X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=de9c8015eb30bf8a7e8571e7ca85e985173b0695;p=mesa.git r600g: Remove a redundant flush in r600_texture_transfer_map(). radeon_ws_bo_map() will already take care of that if needed. --- 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 {