all: remove c_str_literals feature
This commit is contained in:
parent
3791fb9a1e
commit
0c3c03b130
2 changed files with 2 additions and 2 deletions
|
|
@ -146,7 +146,8 @@ impl Drop for VulkanInstance {
|
|||
|
||||
const REQUIRED_INSTANCE_EXTENSIONS: &[&CStr] = &[ExtDebugUtilsFn::name()];
|
||||
|
||||
const VALIDATION_LAYER: &CStr = c"VK_LAYER_KHRONOS_validation";
|
||||
const VALIDATION_LAYER: &CStr =
|
||||
unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_LAYER_KHRONOS_validation\0") };
|
||||
|
||||
pub type Extensions = AHashMap<CString, u32>;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue