Update from dev #53
2 changed files with 6 additions and 2 deletions
|
@ -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}")
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue