Update README.md

Change Entry::new to Entry::linked in accordance with the changelog for ash 0.35.0.
This commit is contained in:
hoj-senna 2022-01-05 18:52:30 +01:00 committed by Benjamin Saunders
parent 762666783a
commit 84bf62b219

View file

@ -221,7 +221,7 @@ let pool = device.create_command_pool(&pool_create_info).unwrap();
### 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`.
## Example