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:
Benjamin Saunders 2018-06-24 13:51:10 -07:00
parent 700f4430be
commit 7ec2bd23a7

View file

@ -162,7 +162,7 @@ unsafe extern "system" fn vulkan_debug_callback(
_: *mut vk::c_void,
) -> u32 {
println!("{:?}", CStr::from_ptr(p_message));
1
vk::VK_FALSE
}
pub fn find_memorytype_index(