aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nouveau/nv50/nv50_context.c
diff options
context:
space:
mode:
authorThomas Helland <[email protected]>2017-06-01 23:15:43 +0200
committerMarek Olšák <[email protected]>2017-06-07 21:07:24 +0200
commit9cb42ae997054f52be2e99764199e00eb28056eb (patch)
treed6e697bcb45c7b266edd486794186bf4a5a56f8d /src/gallium/drivers/nouveau/nv50/nv50_context.c
parent07653f159f0c871fb301a111174f4fc7e7522661 (diff)
util: Port nir_array functionality to u_dynarray
Reviewed-by: Marek Olšák <[email protected]> Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src/gallium/drivers/nouveau/nv50/nv50_context.c')
-rw-r--r--src/gallium/drivers/nouveau/nv50/nv50_context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nouveau/nv50/nv50_context.c b/src/gallium/drivers/nouveau/nv50/nv50_context.c
index 1ca6a0a178a..61243438fcb 100644
--- a/src/gallium/drivers/nouveau/nv50/nv50_context.c
+++ b/src/gallium/drivers/nouveau/nv50/nv50_context.c
@@ -377,7 +377,7 @@ nv50_create(struct pipe_screen *pscreen, void *priv, unsigned ctxflags)
nv50->base.scratch.bo_size = 2 << 20;
- util_dynarray_init(&nv50->global_residents);
+ util_dynarray_init(&nv50->global_residents, NULL);
return pipe;