Merge pull request #66 from Ralith/fixes
Fix example debug callback return value
This commit is contained in:
commit
d4f4a43e73
|
@ -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