Cache transcoded textures
This commit is contained in:
@@ -62,5 +62,11 @@ public:
|
||||
auto _ = entries.lock();
|
||||
_->clear();
|
||||
}
|
||||
|
||||
void remove(const Key & key)
|
||||
{
|
||||
auto _ = entries.lock();
|
||||
_->erase(key);
|
||||
}
|
||||
};
|
||||
} // namespace utils
|
||||
|
||||
Reference in New Issue
Block a user