Update readme for entry
This commit is contained in:
parent
3dbb81735f
commit
1ef7cc3f07
1 changed files with 1 additions and 1 deletions
|
@ -110,7 +110,7 @@ use ash::{Device, Instance};
|
||||||
// Specifies the version that you want to load
|
// Specifies the version that you want to load
|
||||||
use ash::version::V1_0;
|
use ash::version::V1_0;
|
||||||
// Those traits implement the version specific functions
|
// Those traits implement the version specific functions
|
||||||
use ash::{InstanceV1_0, DeviceV1_0};
|
use ash::{InstanceV1_0, DeviceV1_0, EntryV1_0};
|
||||||
let entry = Entry::<V1_0>::new().unwrap();
|
let entry = Entry::<V1_0>::new().unwrap();
|
||||||
let instance = entry.create_instance(...).expect("Instance creation error.");
|
let instance = entry.create_instance(...).expect("Instance creation error.");
|
||||||
let device = instance.create_device(...).expect("Device creation error.");
|
let device = instance.create_device(...).expect("Device creation error.");
|
||||||
|
|
Loading…
Add table
Reference in a new issue