Merge pull request #66 from Ralith/fixes

Fix example debug callback return value
This commit is contained in:
Maik Klein 2018-06-25 08:28:41 +02:00 committed by GitHub
commit d4f4a43e73
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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(