diff options
author | Marek Olšák <[email protected]> | 2012-04-26 12:10:06 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2012-04-29 14:48:45 +0200 |
commit | 498e71c156c9292a30081ebd92f519f882ef7fab (patch) | |
tree | 2bef8cc0d289ce12d9c182befa03b812b123e3a4 /src | |
parent | a784d86508a4b609d12ca07986d43005ff2686ae (diff) |
r300g: make r300_buffer_transfer_unmap a no-op
It's a no-op already in the winsys.
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/r300/r300_screen_buffer.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/gallium/drivers/r300/r300_screen_buffer.c b/src/gallium/drivers/r300/r300_screen_buffer.c index a3b09500d4b..d05c9149287 100644 --- a/src/gallium/drivers/r300/r300_screen_buffer.c +++ b/src/gallium/drivers/r300/r300_screen_buffer.c @@ -131,13 +131,7 @@ r300_buffer_transfer_map( struct pipe_context *pipe, static void r300_buffer_transfer_unmap( struct pipe_context *pipe, struct pipe_transfer *transfer ) { - struct r300_screen *r300screen = r300_screen(pipe->screen); - struct radeon_winsys *rws = r300screen->rws; - struct r300_resource *rbuf = r300_resource(transfer->resource); - - if (rbuf->cs_buf) { - rws->buffer_unmap(rbuf->cs_buf); - } + /* no-op */ } static const struct u_resource_vtbl r300_buffer_vtbl = |