remove lib dependency
This commit is contained in:
parent
7edf08fe94
commit
c0e86d0aad
|
@ -10,6 +10,5 @@ keywords = ["vulkan", "graphic"]
|
|||
documentation = "https://docs.rs/ash"
|
||||
|
||||
[dependencies]
|
||||
shared_library = "0.1.5"
|
||||
sharedlib = "6.0.0"
|
||||
lazy_static = "0.2.1"
|
||||
|
|
|
@ -5,9 +5,6 @@ use vk;
|
|||
use instance::Instance;
|
||||
use shared_library::dynamic_library::DynamicLibrary;
|
||||
use std::path::Path;
|
||||
use std::cell::UnsafeCell;
|
||||
use std::sync::{Once, ONCE_INIT};
|
||||
use std::sync::atomic::AtomicPtr;
|
||||
|
||||
#[cfg(windows)]
|
||||
fn get_path() -> &'static Path {
|
||||
|
@ -28,7 +25,6 @@ lazy_static!{
|
|||
static ref VK_LIB: Result<DynamicLibrary, String> = DynamicLibrary::open(Some(get_path()));
|
||||
}
|
||||
|
||||
|
||||
pub struct Entry {
|
||||
pub static_fn: vk::StaticFn,
|
||||
pub entry_fn: vk::EntryFn,
|
||||
|
|
Loading…
Reference in a new issue