projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1390629
)
nouveau: translate PIPE_BUFFER_USAGE_UNSYNCHRONIZED
author
Ben Skeggs
<bskeggs@redhat.com>
Wed, 10 Mar 2010 05:22:53 +0000
(15:22 +1000)
committer
Ben Skeggs
<bskeggs@redhat.com>
Wed, 10 Mar 2010 06:30:03 +0000
(16:30 +1000)
src/gallium/drivers/nouveau/nouveau_screen.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/nouveau/nouveau_screen.c
b/src/gallium/drivers/nouveau/nouveau_screen.c
index f7d10a591f62324230ec4a9654f495d482e66150..b1ad686022a0905f838cca62dfb3804f3e2046c8 100644
(file)
--- 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;