Fix example debug callback return value
The application should always return VK_FALSE. The VK_TRUE value is reserved for use in layer development.
This commit is contained in:
parent
700f4430be
commit
7ec2bd23a7
|
@ -162,7 +162,7 @@ unsafe extern "system" fn vulkan_debug_callback(
|
||||||
_: *mut vk::c_void,
|
_: *mut vk::c_void,
|
||||||
) -> u32 {
|
) -> u32 {
|
||||||
println!("{:?}", CStr::from_ptr(p_message));
|
println!("{:?}", CStr::from_ptr(p_message));
|
||||||
1
|
vk::VK_FALSE
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn find_memorytype_index(
|
pub fn find_memorytype_index(
|
||||||
|
|
Loading…
Reference in a new issue