diff options
author | Thomas Helland <thomashelland90@gmail.com> | 2017-06-01 23:15:43 +0200 |
---|---|---|
committer | Marek Olšák <marek.olsak@amd.com> | 2017-06-07 21:07:24 +0200 |
commit | 9cb42ae997054f52be2e99764199e00eb28056eb (patch) | |
tree | d6e697bcb45c7b266edd486794186bf4a5a56f8d /src/gallium/state_trackers | |
parent | 07653f159f0c871fb301a111174f4fc7e7522661 (diff) |
util: Port nir_array functionality to u_dynarray
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
Diffstat (limited to 'src/gallium/state_trackers')
-rw-r--r-- | src/gallium/state_trackers/va/surface.c | 2 |
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 c7d6ef7c8c..f968e9ede1 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; |