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/auxiliary/vl/vl_idct.c | |
parent | 5968e4068cdcb0551f1c519f236560bb44ea659e (diff) |
gallium: remove deprecated PIPE_TRANSFER_DISCARD
PIPE_TRANSFER_DISCARD_RANGE is defined the same.
Diffstat (limited to 'src/gallium/auxiliary/vl/vl_idct.c')
-rw-r--r-- | src/gallium/auxiliary/vl/vl_idct.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/vl/vl_idct.c b/src/gallium/auxiliary/vl/vl_idct.c index 325551aad0d..1486c00e7f0 100644 --- a/src/gallium/auxiliary/vl/vl_idct.c +++ b/src/gallium/auxiliary/vl/vl_idct.c @@ -715,7 +715,7 @@ vl_idct_upload_matrix(struct pipe_context *pipe, float scale) buf_transfer = pipe->get_transfer ( pipe, matrix, - 0, PIPE_TRANSFER_WRITE | PIPE_TRANSFER_DISCARD, + 0, PIPE_TRANSFER_WRITE | PIPE_TRANSFER_DISCARD_RANGE, &rect ); if (!buf_transfer) |