diff options
author | Simon Ser <contact@emersion.fr> | 2023-05-24 11:23:37 +0200 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2023-05-26 12:25:53 +0000 |
commit | f60b367db7775299bd455755068a3bcbc052357a (patch) | |
tree | 2b00a28681fbcb012022408d459f8b33355bea0f /render/vulkan | |
parent | 42eec38ab665522a0796cbb62a3de26939ffffd3 (diff) |
render/vulkan: drop unused vulkan_has_extension()
Diffstat (limited to 'render/vulkan')
-rw-r--r-- | render/vulkan/util.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/render/vulkan/util.c b/render/vulkan/util.c index 7af0ec58..8c31dc79 100644 --- a/render/vulkan/util.c +++ b/render/vulkan/util.c @@ -76,13 +76,3 @@ void vulkan_change_layout(VkCommandBuffer cb, VkImage img, }; vkCmdPipelineBarrier(cb, srcs, dsts, 0, 0, NULL, 0, NULL, 1, &barrier); } - -bool vulkan_has_extension(size_t count, const char **exts, const char *find) { - for (unsigned i = 0; i < count; ++i) { - if (strcmp(exts[i], find) == 0) { - return true; - } - } - - return false; -} |