diff --git a/docs/getting_started.md b/docs/getting_started.md index 1ae681b..2e182e9 100644 --- a/docs/getting_started.md +++ b/docs/getting_started.md @@ -182,7 +182,7 @@ Features only available through extensions need to use `add_required_extension_f VkPhysicalDeviceDescriptorIndexingFeatures descriptor_indexing_features{}; descriptor_indexing_features. = true; -phys_device_selector.add_required_extension_features(&descriptor_indexing_features); +phys_device_selector.add_required_extension_features(descriptor_indexing_features); ``` The features and extensions used as selection criteria in `vkb::PhysicalDeviceSelector` automatically propagate into `vkb::DeviceBuilder`. That means the application only needs to state the feature requirement once, and `vk-bootstrap` will handle enabling it on the resulting device.