aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2022-11-05 16:59:56 +0100
committerSimon Ser <contact@emersion.fr>2022-11-06 14:18:13 +0000
commit7f5180af771b278ef5e7aec3e1437a011383d2aa (patch)
treeec710f186c5f970078878e11460b62c257cdfca2 /include/wlr
parentc09d3450d494e21f065c12f199fa5ba8bfd946a9 (diff)
render/vulkan: simplify extension checks
find_extensions() is clunky to use when checking only a single extension, and it's surprising that it returns NULL on success. Simplify by replacing it with a check_extension() function which just checks whether a single extension is in the list.
Diffstat (limited to 'include/wlr')
0 files changed, 0 insertions, 0 deletions