projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e6d3432
)
anv/WSI/X11: Use the right allocator for freeing swapchains
author
Jason Ekstrand
<jason.ekstrand@intel.com>
Mon, 8 Feb 2016 23:27:16 +0000
(15:27 -0800)
committer
Jason Ekstrand
<jason.ekstrand@intel.com>
Tue, 9 Feb 2016 18:29:05 +0000
(10:29 -0800)
src/vulkan/anv_wsi_x11.c
patch
|
blob
|
history
diff --git
a/src/vulkan/anv_wsi_x11.c
b/src/vulkan/anv_wsi_x11.c
index acb4a60e65f214f5519b6b9c014c347c258ad273..1e08bf31b4b0c35d95209a5179f1d86f8ca59289 100644
(file)
--- a/
src/vulkan/anv_wsi_x11.c
+++ b/
src/vulkan/anv_wsi_x11.c
@@
-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_free
2(&chain->base.device->alloc, pAllocator
, chain);
return VK_SUCCESS;
}