mirror of
https://github.com/charles-lunarg/vk-bootstrap.git
synced 2024-11-21 23:14:35 +00:00
Make double size check more valid
This commit is contained in:
parent
03ebcdbc76
commit
e64f1311ce
@ -61,7 +61,7 @@ bool GenericFeatureChain::match_all(GenericFeatureChain const& extension_request
|
||||
return false;
|
||||
}
|
||||
|
||||
for (size_t i = 0; i < nodes.size() && i < nodes.size(); ++i) {
|
||||
for (size_t i = 0; i < extension_requested.nodes.size() && i < nodes.size(); ++i) {
|
||||
if (!GenericFeaturesPNextNode::match(extension_requested.nodes[i], nodes[i])) return false;
|
||||
}
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user