Fix imports for win and mac

This commit is contained in:
Maik Klein 2018-12-04 21:48:45 +01:00
parent ab7f960ae8
commit 911f7545b9
2 changed files with 6 additions and 6 deletions

View file

@ -1,4 +1,4 @@
pub mod khr;
pub mod nv;
pub mod mvk;
pub mod ext;
pub mod khr;
pub mod mvk;
pub mod nv;

View file

@ -28,10 +28,10 @@ use ash::extensions::{
khr::{Surface, Swapchain},
};
#[cfg(target_os = "macos")]
use ash::extensions::MacOSSurface;
#[cfg(target_os = "windows")]
use ash::extensions::Win32Surface;
use ash::extensions::khr::Win32Surface;
#[cfg(target_os = "macos")]
use ash::extensions::mvk::MacOSSurface;
pub use ash::version::{DeviceV1_0, EntryV1_0, InstanceV1_0};
use ash::{vk, Device, Entry, Instance};
use std::cell::RefCell;