Update README.md
Change Entry::new to Entry::linked in accordance with the changelog for ash 0.35.0.
This commit is contained in:
parent
762666783a
commit
84bf62b219
|
@ -221,7 +221,7 @@ let pool = device.create_command_pool(&pool_create_info).unwrap();
|
||||||
|
|
||||||
### Optional linking
|
### Optional linking
|
||||||
|
|
||||||
The default `linked` cargo feature will link your binary with the Vulkan loader directly and expose the infallible `Entry::new`.
|
The default `linked` cargo feature will link your binary with the Vulkan loader directly and expose the infallible `Entry::linked`.
|
||||||
If your application can handle Vulkan being missing at runtime, you can instead enable the `loaded` feature to dynamically load Vulkan with `Entry::load`.
|
If your application can handle Vulkan being missing at runtime, you can instead enable the `loaded` feature to dynamically load Vulkan with `Entry::load`.
|
||||||
|
|
||||||
## Example
|
## Example
|
||||||
|
|
Loading…
Reference in a new issue