Update readme example
This commit is contained in:
parent
bc8691df8a
commit
222b510f4e
|
@ -29,7 +29,7 @@ pub fn create_instance(&self,
|
|||
create_info: &vk::InstanceCreateInfo,
|
||||
allocation_callbacks: Option<&vk::AllocationCallbacks>)
|
||||
-> Result<Instance, InstanceError> {
|
||||
let instance: Instance = entry.create_instance(&create_info, None)
|
||||
let instance = entry.create_instance(&create_info, None)
|
||||
.expect("Instance creation error");
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue