Fix wrong version path in README
This commit is contained in:
parent
5183358dd5
commit
525a78f7c5
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ Ash also takes care of loading the function pointers. Function pointers are spli
|
|||
Ash also manages multiple versions of Vulkan without any breakage. You will never run into any runtime error because you tried to access a function pointer that failed to load. Function pointers either load successfully or fail and return an error.
|
||||
|
||||
```Rust
|
||||
use ash::version::{Device, Instance};
|
||||
use ash::{Device, Instance};
|
||||
// Specifies the version that you want to load
|
||||
use ash::version::V1_0;
|
||||
// Those traits implement the version specific functions
|
||||
|
|
Loading…
Add table
Reference in a new issue