mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
anv/WSI/X11: Use the right allocator for freeing swapchains
This commit is contained in:
parent
e6d3432c81
commit
a485567d3a
1 changed files with 1 additions and 1 deletions
|
|
@ -538,7 +538,7 @@ x11_swapchain_destroy(struct anv_swapchain *anv_chain,
|
|||
/* TODO: Delete images and free memory */
|
||||
}
|
||||
|
||||
anv_free(NULL /* XXX: pAllocator */, chain);
|
||||
anv_free2(&chain->base.device->alloc, pAllocator, chain);
|
||||
|
||||
return VK_SUCCESS;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue