mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-28 11:50:23 +01:00
nouveau: use usage, not uninitialised flags value...
This commit is contained in:
parent
516dd9b361
commit
7b6fb34e9d
1 changed files with 1 additions and 1 deletions
|
|
@ -69,7 +69,7 @@ nouveau_pipe_bo_create(struct pipe_winsys *pws, unsigned alignment,
|
|||
nvbuf->base.usage = usage;
|
||||
nvbuf->base.size = size;
|
||||
|
||||
flags = nouveau_flags_from_usage(nv, flags);
|
||||
flags = nouveau_flags_from_usage(nv, usage);
|
||||
|
||||
if (nouveau_bo_new(dev, flags, alignment, size, &nvbuf->bo)) {
|
||||
FREE(nvbuf);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue