r600g: Remove a redundant flush in r600_texture_transfer_map().
authorHenri Verbeet <hverbeet@gmail.com>
Sun, 19 Sep 2010 17:27:30 +0000 (19:27 +0200)
committerHenri Verbeet <hverbeet@gmail.com>
Sun, 19 Sep 2010 17:43:05 +0000 (19:43 +0200)
radeon_ws_bo_map() will already take care of that if needed.

src/gallium/drivers/r600/r600_texture.c

index 274679d12740282fa0828050575907b26e4c5b48..b7a12edc20b025dd3c4e3c27dd45e40ad7587626 100644 (file)
@@ -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 {