From 7ec2bd23a736c9a05cd4191eb986419881931810 Mon Sep 17 00:00:00 2001 From: Benjamin Saunders Date: Sun, 24 Jun 2018 13:51:10 -0700 Subject: [PATCH] Fix example debug callback return value The application should always return VK_FALSE. The VK_TRUE value is reserved for use in layer development. --- examples/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/src/lib.rs b/examples/src/lib.rs index 55c4862..269281f 100644 --- a/examples/src/lib.rs +++ b/examples/src/lib.rs @@ -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(