vk/reloc_list: Actually set the new length in reloc_list_grow

This commit is contained in:
Jason Ekstrand
2015-07-30 11:29:55 -07:00
parent f15be18c92
commit 7af67e085f

View File

@@ -126,6 +126,7 @@ anv_reloc_list_grow(struct anv_reloc_list *list, struct anv_device *device,
anv_device_free(device, list->relocs);
anv_device_free(device, list->reloc_bos);
list->array_length = new_length;
list->relocs = new_relocs;
list->reloc_bos = new_reloc_bos;