diff options
author | Simon Ser <contact@emersion.fr> | 2022-11-05 16:59:56 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2022-11-06 14:18:13 +0000 |
commit | 7f5180af771b278ef5e7aec3e1437a011383d2aa (patch) | |
tree | ec710f186c5f970078878e11460b62c257cdfca2 /examples/idle-inhibit.c | |
parent | c09d3450d494e21f065c12f199fa5ba8bfd946a9 (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 'examples/idle-inhibit.c')
0 files changed, 0 insertions, 0 deletions