From 726c91fda91b31be7bc46527ce715f608f723990 Mon Sep 17 00:00:00 2001 From: Maik Klein Date: Mon, 12 Nov 2018 13:12:38 +0100 Subject: [PATCH] Fix --- examples/src/lib.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/examples/src/lib.rs b/examples/src/lib.rs index 9ad1991..91b7c1b 100644 --- a/examples/src/lib.rs +++ b/examples/src/lib.rs @@ -25,8 +25,7 @@ use ash::vk; use ash::Device; use ash::Entry; use ash::Instance; -use ash::Device; -pub use ash::version::{DeviceV1_0, EntryV1_0, InstanceV1_0, V1_0}; +pub use ash::version::{DeviceV1_0, EntryV1_0, InstanceV1_0}; use ash::extensions::{DebugReport, Surface, Swapchain}; #[cfg(target_os = "windows")] use ash::extensions::Win32Surface; @@ -227,7 +226,7 @@ unsafe extern "system" fn vulkan_debug_callback( _: *mut c_void, ) -> u32 { println!("{:?}", CStr::from_ptr(p_message)); - vk::VK_FALSE + vk::FALSE } pub fn find_memorytype_index(