Cache the loaded icons

This commit is contained in:
Guillaume Meunier
2025-08-03 10:50:22 +02:00
parent 5d427f1464
commit 18f38b575d
2 changed files with 52 additions and 20 deletions
+1 -1
View File
@@ -23,5 +23,5 @@
namespace wivrn
{
std::vector<std::byte> load_icon(const std::filesystem::path & filename, int size);
const std::vector<std::byte> & load_icon(const std::filesystem::path & filename, int size);
}