summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nouveau/nvc0
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/nvc0
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/nvc0')
-rw-r--r--src/gallium/drivers/nouveau/nvc0/nvc0_context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_context.c b/src/gallium/drivers/nouveau/nvc0/nvc0_context.c
index 59edd3d7e6e..d5ef5851daa 100644
--- a/src/gallium/drivers/nouveau/nvc0/nvc0_context.c
+++ b/src/gallium/drivers/nouveau/nvc0/nvc0_context.c
@@ -461,7 +461,7 @@ nvc0_create(struct pipe_screen *pscreen, void *priv, unsigned ctxflags)
memset(nvc0->tex_handles, ~0, sizeof(nvc0->tex_handles));
- util_dynarray_init(&nvc0->global_residents);
+ util_dynarray_init(&nvc0->global_residents, NULL);
return pipe;