aboutsummaryrefslogtreecommitdiffstats
path: root/src/vulkan/anv_query.c
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2015-10-05 20:50:51 -0700
committerJason Ekstrand <[email protected]>2015-10-05 20:50:51 -0700
commit05a26a60c831f1dafc60a9f88b0d5cb2ca303d01 (patch)
treea7476c38fca3edabee592156c4f75a8ac7ed6569 /src/vulkan/anv_query.c
parent460676122fffddb26ef324293fcb5efb566796db (diff)
vk/0.170.2: Make destructors return void
Diffstat (limited to 'src/vulkan/anv_query.c')
-rw-r--r--src/vulkan/anv_query.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/vulkan/anv_query.c b/src/vulkan/anv_query.c
index 4ef9d8c4b0c..9464531b8c5 100644
--- a/src/vulkan/anv_query.c
+++ b/src/vulkan/anv_query.c
@@ -72,7 +72,7 @@ VkResult anv_CreateQueryPool(
return result;
}
-VkResult anv_DestroyQueryPool(
+void anv_DestroyQueryPool(
VkDevice _device,
VkQueryPool _pool)
{
@@ -82,8 +82,6 @@ VkResult anv_DestroyQueryPool(
anv_gem_munmap(pool->bo.map, pool->bo.size);
anv_gem_close(device, pool->bo.gem_handle);
anv_device_free(device, pool);
-
- return VK_SUCCESS;
}
VkResult anv_GetQueryPoolResults(