From f238a7355fa6aecdb3fa5e1edb0d9f337c6a8b0d Mon Sep 17 00:00:00 2001 From: n0F4x Date: Tue, 30 Apr 2024 19:21:57 +0200 Subject: [PATCH] Fix typos in function documentation --- src/VkBootstrap.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/VkBootstrap.h b/src/VkBootstrap.h index 68ff6c8..28dbab5 100644 --- a/src/VkBootstrap.h +++ b/src/VkBootstrap.h @@ -528,7 +528,7 @@ struct PhysicalDevice { // Returns true if an extension should be enabled on the device bool is_extension_present(const char* extension) const; - // Returns true if all of the features are present + // Returns true if all the features are present template bool are_extension_features_present(T const& features) const { return is_features_node_present(detail::GenericFeaturesPNextNode(features)); } @@ -542,11 +542,11 @@ struct PhysicalDevice { bool enable_extensions_if_present(const std::vector& extensions); // If the features from VkPhysicalDeviceFeatures are all present, make all of the features be enable on the device. - // Returns true all of the features are present. + // Returns true if all the features are present. bool enable_features_if_present(const VkPhysicalDeviceFeatures& features_to_enable); // If the features from the provided features struct are all present, make all of the features be enable on the - // device. Returns true all of the features are present. + // device. Returns true if all of the features are present. template bool enable_extension_features_if_present(T const& features_check) { return enable_features_node_if_present(detail::GenericFeaturesPNextNode(features_check)); }