update extension vector capacity (#2210)

This commit is contained in:
panzone91 2025-01-22 21:53:54 +00:00 committed by GitHub
parent c015ac1344
commit d7c2cb17f3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -232,7 +232,7 @@ bool Instance::CreateDevice() {
return false;
}
boost::container::static_vector<const char*, 25> enabled_extensions;
boost::container::static_vector<const char*, 32> enabled_extensions;
const auto add_extension = [&](std::string_view extension) -> bool {
const auto result =
std::find_if(available_extensions.begin(), available_extensions.end(),