From fdaafe760a457da9b424a30e3a37fe1cce6a2341 Mon Sep 17 00:00:00 2001 From: hoj-senna <53797493+hoj-senna@users.noreply.github.com> Date: Wed, 5 Jan 2022 21:22:30 +0100 Subject: [PATCH] Update README.md loaded/linked feature: correctly identify default, adjust order --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 479b641..0547fd3 100644 --- a/README.md +++ b/README.md @@ -221,8 +221,9 @@ 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::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`. +The default `loaded` cargo feature will dynamically load the default Vulkan library for the current platform with `Entry::load`, meaning that the build environment does not have to have Vulkan development packages installed. + +If, on the other hand, your application cannot handle Vulkan being missing at runtime, you can instead enable the `linked` feature, which will link your binary with the Vulkan loader directly and expose the infallible `Entry::linked`. ## Example You can find the examples [here](https://github.com/MaikKlein/ash/tree/master/examples).