This commit is contained in:
Graham Wihlidal 2019-02-11 16:21:43 +01:00
parent 09ee78401f
commit 69527c759a
2 changed files with 3 additions and 7 deletions

View file

@ -7,4 +7,3 @@ mod debug_marker;
mod debug_report;
mod debug_utils;
mod descriptor_indexing;

View file

@ -27,16 +27,13 @@ pub fn physical_device_properties2_name() -> &'static std::ffi::CStr {
}
pub fn maintenance1_name() -> &'static std::ffi::CStr {
std::ffi::CStr::from_bytes_with_nul(b"VK_KHR_maintenance1\0")
.expect("Wrong extension string")
std::ffi::CStr::from_bytes_with_nul(b"VK_KHR_maintenance1\0").expect("Wrong extension string")
}
pub fn maintenance2_name() -> &'static std::ffi::CStr {
std::ffi::CStr::from_bytes_with_nul(b"VK_KHR_maintenance2\0")
.expect("Wrong extension string")
std::ffi::CStr::from_bytes_with_nul(b"VK_KHR_maintenance2\0").expect("Wrong extension string")
}
pub fn maintenance3_name() -> &'static std::ffi::CStr {
std::ffi::CStr::from_bytes_with_nul(b"VK_KHR_maintenance3\0")
.expect("Wrong extension string")
std::ffi::CStr::from_bytes_with_nul(b"VK_KHR_maintenance3\0").expect("Wrong extension string")
}