summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nouveau/nouveau_screen.c
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2010-03-10 15:22:53 +1000
committerBen Skeggs <bskeggs@redhat.com>2010-03-10 16:30:03 +1000
commited7f73e161b93b4a83bb6ad6b6aa6cfcb65dc4b0 (patch)
treefb887ee9b8632fbe524d122ae40d94c800100c41 /src/gallium/drivers/nouveau/nouveau_screen.c
parent139062946df4fba62a1e411073b61d4b0eeb034c (diff)
nouveau: translate PIPE_BUFFER_USAGE_UNSYNCHRONIZED
Diffstat (limited to 'src/gallium/drivers/nouveau/nouveau_screen.c')
-rw-r--r--src/gallium/drivers/nouveau/nouveau_screen.c2
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 f7d10a591f..b1ad686022 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;