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/nouveau | |
parent | 5968e4068cdcb0551f1c519f236560bb44ea659e (diff) |
gallium: remove deprecated PIPE_TRANSFER_DISCARD
PIPE_TRANSFER_DISCARD_RANGE is defined the same.
Diffstat (limited to 'src/gallium/drivers/nouveau')
-rw-r--r-- | src/gallium/drivers/nouveau/nouveau_winsys.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nouveau/nouveau_winsys.h b/src/gallium/drivers/nouveau/nouveau_winsys.h index 1abfa790072..3423451748a 100644 --- a/src/gallium/drivers/nouveau/nouveau_winsys.h +++ b/src/gallium/drivers/nouveau/nouveau_winsys.h @@ -31,7 +31,7 @@ nouveau_screen_transfer_flags(unsigned pipe) flags |= NOUVEAU_BO_RD; if (pipe & PIPE_TRANSFER_WRITE) flags |= NOUVEAU_BO_WR; - if (pipe & PIPE_TRANSFER_DISCARD) + if (pipe & PIPE_TRANSFER_DISCARD_RANGE) flags |= NOUVEAU_BO_INVAL; if (pipe & PIPE_TRANSFER_UNSYNCHRONIZED) flags |= NOUVEAU_BO_NOSYNC; |