From 7cd1c62b6be88072e3d937b67c499592490927f1 Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Mon, 2 Jan 2012 00:02:34 +0100 Subject: gallium: remove deprecated PIPE_TRANSFER_DISCARD PIPE_TRANSFER_DISCARD_RANGE is defined the same. --- src/gallium/auxiliary/vl/vl_idct.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium/auxiliary/vl/vl_idct.c') 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) -- cgit v1.2.3