Fix
This commit is contained in:
parent
69f3644362
commit
726c91fda9
1 changed files with 2 additions and 3 deletions
|
@ -25,8 +25,7 @@ use ash::vk;
|
||||||
use ash::Device;
|
use ash::Device;
|
||||||
use ash::Entry;
|
use ash::Entry;
|
||||||
use ash::Instance;
|
use ash::Instance;
|
||||||
use ash::Device;
|
pub use ash::version::{DeviceV1_0, EntryV1_0, InstanceV1_0};
|
||||||
pub use ash::version::{DeviceV1_0, EntryV1_0, InstanceV1_0, V1_0};
|
|
||||||
use ash::extensions::{DebugReport, Surface, Swapchain};
|
use ash::extensions::{DebugReport, Surface, Swapchain};
|
||||||
#[cfg(target_os = "windows")]
|
#[cfg(target_os = "windows")]
|
||||||
use ash::extensions::Win32Surface;
|
use ash::extensions::Win32Surface;
|
||||||
|
@ -227,7 +226,7 @@ unsafe extern "system" fn vulkan_debug_callback(
|
||||||
_: *mut c_void,
|
_: *mut c_void,
|
||||||
) -> u32 {
|
) -> u32 {
|
||||||
println!("{:?}", CStr::from_ptr(p_message));
|
println!("{:?}", CStr::from_ptr(p_message));
|
||||||
vk::VK_FALSE
|
vk::FALSE
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn find_memorytype_index(
|
pub fn find_memorytype_index(
|
||||||
|
|
Loading…
Add table
Reference in a new issue