mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-26 16:13:58 -06:00
SendSystemInfoDialog now opens through CallAfter, GL extensions are sorted
This commit is contained in:
parent
bdc4c4cf30
commit
a49c691241
2 changed files with 5 additions and 3 deletions
|
@ -294,6 +294,7 @@ static std::string generate_system_info_json()
|
|||
std::string extensions_str = gl_get_string_safe(GL_EXTENSIONS, "");
|
||||
std::vector<std::string> extensions_list;
|
||||
boost::split(extensions_list, extensions_str, boost::is_any_of(" "), boost::token_compress_off);
|
||||
std::sort(extensions_list.begin(), extensions_list.end());
|
||||
pt::ptree extensions_node;
|
||||
for (const std::string& s : extensions_list) {
|
||||
if (s.empty())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue