diff options
author | Ben Skeggs <[email protected]> | 2009-05-28 10:25:44 +1000 |
---|---|---|
committer | Ben Skeggs <[email protected]> | 2009-05-28 16:06:16 +1000 |
commit | 65e3fb7b46cc9fc02ad12fe41e0c023c65ffe1e8 (patch) | |
tree | 7b485a94c7115481faaeed4744969bee50420e7c /src/gallium | |
parent | 713b636a0e0356266b714548886b66864b830fff (diff) |
nouveau: explicitly request mappable buffers for the moment
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/winsys/drm/nouveau/drm/nouveau_winsys_pipe.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/winsys/drm/nouveau/drm/nouveau_winsys_pipe.c b/src/gallium/winsys/drm/nouveau/drm/nouveau_winsys_pipe.c index 9e03a9f5dba..2dca8cd3a90 100644 --- a/src/gallium/winsys/drm/nouveau/drm/nouveau_winsys_pipe.c +++ b/src/gallium/winsys/drm/nouveau/drm/nouveau_winsys_pipe.c @@ -74,6 +74,7 @@ nouveau_pipe_bo_create(struct pipe_winsys *ws, unsigned alignment, nvbuf->base.size = size; flags = nouveau_flags_from_usage(ws, usage); + flags |= NOUVEAU_BO_MAP; if (nouveau_bo_new(dev, flags, alignment, size, &nvbuf->bo)) { FREE(nvbuf); return NULL; |