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