summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/va/surface.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/state_trackers/va/surface.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/state_trackers/va/surface.c')
-rw-r--r--src/gallium/state_trackers/va/surface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/va/surface.c b/src/gallium/state_trackers/va/surface.c
index c7d6ef7c8c3..f968e9ede17 100644
--- a/src/gallium/state_trackers/va/surface.c
+++ b/src/gallium/state_trackers/va/surface.c
@@ -749,7 +749,7 @@ vlVaCreateSurfaces2(VADriverContextP ctx, unsigned int format,
assert(0);
}
- util_dynarray_init(&surf->subpics);
+ util_dynarray_init(&surf->subpics, NULL);
surfaces[i] = handle_table_add(drv->htab, surf);
if (!surfaces[i]) {
vaStatus = VA_STATUS_ERROR_ALLOCATION_FAILED;