mirror of
https://github.com/charles-lunarg/vk-bootstrap.git
synced 2024-11-22 07:24:34 +00:00
Rename parameter in enable_extension_features_if_present
Prevents shadowing warnings from annoying users.
This commit is contained in:
parent
c30cab593f
commit
8320b691f7
@ -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
|
// 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 all of the features are present.
|
||||||
template <typename T> bool enable_extension_features_if_present(T const& features) {
|
template <typename T> bool enable_extension_features_if_present(T const& features_check) {
|
||||||
return enable_features_node_if_present(detail::GenericFeaturesPNextNode(features));
|
return enable_features_node_if_present(detail::GenericFeaturesPNextNode(features_check));
|
||||||
}
|
}
|
||||||
|
|
||||||
// A conversion function which allows this PhysicalDevice to be used
|
// A conversion function which allows this PhysicalDevice to be used
|
||||||
|
Loading…
Reference in New Issue
Block a user