Update from dev #53

Merged
hodasemi merged 10 commits from dev into master 2023-08-16 07:05:12 +00:00
2 changed files with 6 additions and 2 deletions
Showing only changes of commit 8b3186094d - Show all commits

View file

@ -7,7 +7,7 @@ pkgdesc="Vulkan overlay layer for rFactor 2"
arch=('x86_64')
url="https://gavania.de/hodasemi/${_pkgbase}"
license=('GPL-3.0')
makedepends=('rust' 'ctags' 'glslang')
makedepends=('rust' 'ctags' 'glslang' 'vulkan-headers')
depends=()
conflicts=("${_pkgbase}")
source=("git+${url}")

View file

@ -153,7 +153,11 @@ pub(crate) extern "system" fn create_instance(
*instance,
proc_addr,
&ext_names,
(*(*create_info).pApplicationInfo).apiVersion,
if (*create_info).pApplicationInfo == ptr::null() {
VK_MAKE_VERSION(1, 3, 0)
} else {
(*(*create_info).pApplicationInfo).apiVersion
},
)
}) {
Ok(panic_ok) => panic_ok,