From: Ben Skeggs Date: Wed, 10 Mar 2010 05:22:53 +0000 (+1000) Subject: nouveau: translate PIPE_BUFFER_USAGE_UNSYNCHRONIZED X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ed7f73e161b93b4a83bb6ad6b6aa6cfcb65dc4b0;p=mesa.git nouveau: translate PIPE_BUFFER_USAGE_UNSYNCHRONIZED --- 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;