diff options
author | Nicolai Hähnle <[email protected]> | 2016-04-22 22:58:38 -0500 |
---|---|---|
committer | Nicolai Hähnle <[email protected]> | 2016-04-27 11:16:41 -0500 |
commit | 562c4a17b7e4fb56c7db679233b4a48f8b80b0f2 (patch) | |
tree | a8a7d2656ea3cb4e708d81a436d89af986e9925e /src/gallium/drivers/r300/r300_screen_buffer.c | |
parent | 13acf2b24375af40b62571d5f07c75342c1acb14 (diff) |
winsys/radeon: remove use_reusable_pool parameter from buffer_create
All callers set this parameter to true.
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r300/r300_screen_buffer.c')
-rw-r--r-- | src/gallium/drivers/r300/r300_screen_buffer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/r300/r300_screen_buffer.c b/src/gallium/drivers/r300/r300_screen_buffer.c index 42c8e3a0fc5..5b69b24f59b 100644 --- a/src/gallium/drivers/r300/r300_screen_buffer.c +++ b/src/gallium/drivers/r300/r300_screen_buffer.c @@ -102,7 +102,7 @@ r300_buffer_transfer_map( struct pipe_context *context, /* Create a new one in the same pipe_resource. */ new_buf = r300->rws->buffer_create(r300->rws, rbuf->b.b.width0, - R300_BUFFER_ALIGNMENT, TRUE, + R300_BUFFER_ALIGNMENT, rbuf->domain, 0); if (new_buf) { /* Discard the old buffer. */ @@ -183,7 +183,7 @@ struct pipe_resource *r300_buffer_create(struct pipe_screen *screen, rbuf->buf = r300screen->rws->buffer_create(r300screen->rws, rbuf->b.b.width0, - R300_BUFFER_ALIGNMENT, TRUE, + R300_BUFFER_ALIGNMENT, rbuf->domain, 0); if (!rbuf->buf) { FREE(rbuf); |