diff options
author | Marek Olšák <[email protected]> | 2012-01-02 00:02:34 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2012-01-05 18:29:11 +0100 |
commit | 7cd1c62b6be88072e3d937b67c499592490927f1 (patch) | |
tree | 0a5a8e12e69c1787d90fcd01db0f57897d0152d1 /src/gallium/drivers/r300 | |
parent | 5968e4068cdcb0551f1c519f236560bb44ea659e (diff) |
gallium: remove deprecated PIPE_TRANSFER_DISCARD
PIPE_TRANSFER_DISCARD_RANGE is defined the same.
Diffstat (limited to 'src/gallium/drivers/r300')
-rw-r--r-- | src/gallium/drivers/r300/r300_screen_buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_screen_buffer.c b/src/gallium/drivers/r300/r300_screen_buffer.c index 9d8ce62a6d2..37f6e8d53d8 100644 --- a/src/gallium/drivers/r300/r300_screen_buffer.c +++ b/src/gallium/drivers/r300/r300_screen_buffer.c @@ -161,7 +161,7 @@ static void r300_buffer_transfer_inline_write(struct pipe_context *pipe, assert(rbuf->b.user_ptr == NULL); map = rws->buffer_map(rbuf->buf, r300->cs, - PIPE_TRANSFER_WRITE | PIPE_TRANSFER_DISCARD | usage); + PIPE_TRANSFER_WRITE | PIPE_TRANSFER_DISCARD_RANGE | usage); memcpy(map + box->x, data, box->width); |