Fixup for growable reloc lists

This commit is contained in:
Jason Ekstrand
2015-05-27 11:41:28 -07:00
parent 1c63575de8
commit 59def43fc8
2 changed files with 7 additions and 2 deletions

View File

@@ -501,7 +501,7 @@ VkResult anv_GetDeviceQueue(
return VK_SUCCESS;
}
static VkResult
VkResult
anv_reloc_list_init(struct anv_reloc_list *list, struct anv_device *device)
{
list->num_relocs = 0;
@@ -525,7 +525,7 @@ anv_reloc_list_init(struct anv_reloc_list *list, struct anv_device *device)
return VK_SUCCESS;
}
static void
void
anv_reloc_list_finish(struct anv_reloc_list *list, struct anv_device *device)
{
anv_device_free(device, list->relocs);