Rename parameter in enable_extension_features_if_present

Prevents shadowing warnings from annoying users.
This commit is contained in:
Charles Giessen 2024-05-29 09:08:59 -05:00 committed by Charles Giessen
parent c30cab593f
commit 8320b691f7

View File

@ -542,8 +542,8 @@ struct PhysicalDevice {
// 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.
template <typename T> bool enable_extension_features_if_present(T const& features) {
return enable_features_node_if_present(detail::GenericFeaturesPNextNode(features));
template <typename T> bool enable_extension_features_if_present(T const& features_check) {
return enable_features_node_if_present(detail::GenericFeaturesPNextNode(features_check));
}
// A conversion function which allows this PhysicalDevice to be used