r600g: alternative command stream building from context
[mesa.git] / src / gallium / drivers / r600 / r600_texture.c
index efc5f820659e628ab8549092ef21a846e870c567..274679d12740282fa0828050575907b26e4c5b48 100644 (file)
@@ -325,7 +325,7 @@ void* r600_texture_transfer_map(struct pipe_context *ctx,
        char *map;
        int r;
 
-       r600_flush(ctx, 0, NULL);
+       ctx->flush(ctx, 0, NULL);
        if (rtransfer->linear_texture) {
                bo = ((struct r600_resource *)rtransfer->linear_texture)->bo;
        } else {