diff options
author | Marek Olšák <[email protected]> | 2012-02-26 19:15:45 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2012-02-27 16:22:40 +0100 |
commit | bf4fedcef3e345f5117232d58bd9000c2441de74 (patch) | |
tree | d040b08066e016c6d3f8732ff370ead4f381771d /src/gallium/drivers/r600/r600_buffer.c | |
parent | ab1328882101f67335a332e940fea92eeaf70e12 (diff) |
r600g: use u_default_transfer_flush_region for all resource types
Diffstat (limited to 'src/gallium/drivers/r600/r600_buffer.c')
-rw-r--r-- | src/gallium/drivers/r600/r600_buffer.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/gallium/drivers/r600/r600_buffer.c b/src/gallium/drivers/r600/r600_buffer.c index 454d448beed..733d707068b 100644 --- a/src/gallium/drivers/r600/r600_buffer.c +++ b/src/gallium/drivers/r600/r600_buffer.c @@ -98,12 +98,6 @@ static void r600_buffer_transfer_unmap(struct pipe_context *pipe, rctx->ws->buffer_unmap(rbuffer->buf); } -static void r600_buffer_transfer_flush_region(struct pipe_context *pipe, - struct pipe_transfer *transfer, - const struct pipe_box *box) -{ -} - static void r600_transfer_destroy(struct pipe_context *ctx, struct pipe_transfer *transfer) { @@ -118,7 +112,7 @@ static const struct u_resource_vtbl r600_buffer_vtbl = r600_get_transfer, /* get_transfer */ r600_transfer_destroy, /* transfer_destroy */ r600_buffer_transfer_map, /* transfer_map */ - r600_buffer_transfer_flush_region, /* transfer_flush_region */ + NULL, /* transfer_flush_region */ r600_buffer_transfer_unmap, /* transfer_unmap */ NULL /* transfer_inline_write */ }; |