aboutsummaryrefslogtreecommitdiff
path: root/render
diff options
context:
space:
mode:
Diffstat (limited to 'render')
-rw-r--r--render/vulkan/util.c10
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;
-}