Skip to content

Commit

Permalink
fix compilation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
filnet committed Feb 8, 2021
1 parent 1c0b445 commit e4ee902
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ impl Default for AllocatorCreateInfo {
}
extern "C" fn get_instance_proc_addr(
_: ash::vk::Instance,
name: *const std::os::raw::c_char,
_: *const std::os::raw::c_char,
) -> *const std::os::raw::c_void {
get_device_proc_addr as *const _
}
Expand Down Expand Up @@ -768,7 +768,7 @@ pub struct DefragmentationStats {
impl Allocator {
/// Constructor a new `Allocator` using the provided options.
pub fn new(create_info: &AllocatorCreateInfo) -> Result<Self> {
use ash::version::{DeviceV1_0, DeviceV1_1, InstanceV1_0};
use ash::version::{DeviceV1_0, DeviceV1_1};
let instance = create_info.instance.clone();
let device = create_info.device.clone();
let routed_functions = unsafe {
Expand Down

0 comments on commit e4ee902

Please sign in to comment.