diff options
author | Ben Skeggs <[email protected]> | 2010-03-10 15:22:53 +1000 |
---|---|---|
committer | Ben Skeggs <[email protected]> | 2010-03-10 16:30:03 +1000 |
commit | ed7f73e161b93b4a83bb6ad6b6aa6cfcb65dc4b0 (patch) | |
tree | fb887ee9b8632fbe524d122ae40d94c800100c41 | |
parent | 139062946df4fba62a1e411073b61d4b0eeb034c (diff) |
nouveau: translate PIPE_BUFFER_USAGE_UNSYNCHRONIZED
-rw-r--r-- | src/gallium/drivers/nouveau/nouveau_screen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nouveau/nouveau_screen.c b/src/gallium/drivers/nouveau/nouveau_screen.c index f7d10a591f6..b1ad686022a 100644 --- a/src/gallium/drivers/nouveau/nouveau_screen.c +++ b/src/gallium/drivers/nouveau/nouveau_screen.c @@ -124,7 +124,7 @@ nouveau_screen_map_flags(unsigned pipe) if (pipe & PIPE_BUFFER_USAGE_DONTBLOCK) flags |= NOUVEAU_BO_NOWAIT; else - if (pipe & 0 /*PIPE_BUFFER_USAGE_UNSYNCHRONIZED*/) + if (pipe & PIPE_BUFFER_USAGE_UNSYNCHRONIZED) flags |= NOUVEAU_BO_NOSYNC; return flags; |