mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-22 05:45:38 +00:00
Postprocessing: Sort shader list lexiographically
This commit is contained in:
parent
ea3fa7fe3d
commit
966cce1581
|
@ -205,6 +205,11 @@ std::vector<std::pair<std::string, std::string>> PostProcessing::GetAvailableSha
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::sort(names.begin(), names.end(),
|
||||||
|
[](const std::pair<std::string, std::string>& lhs, const std::pair<std::string, std::string>& rhs) {
|
||||||
|
return (lhs.first < lhs.second);
|
||||||
|
});
|
||||||
|
|
||||||
return names;
|
return names;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue