vulkan: Refactor function
authorBenjamin Otte <otte@redhat.com>
Mon, 19 Jun 2023 12:48:37 +0000 (14:48 +0200)
committerBenjamin Otte <otte@redhat.com>
Mon, 19 Jun 2023 13:08:00 +0000 (15:08 +0200)
commit636591c0802521711de977cc2ffab2fa252485dc
treea77b6e7866b86a45db8e8dd5c39eddf33c494b43
parentaa6c670f15c3533284717019d3c021461b0e3cbb
vulkan: Refactor function

Instead of checking for one specific extension, instead pass the
extension to check for by name.

This way we can reuse it for different extensions.
gdk/gdkvulkancontext.c