Buffer texture atlas on more than the first context after change

- Icons now work on all maps
This commit is contained in:
Dan Paulat 2023-08-02 20:49:48 -05:00
parent 4ff95094a3
commit 0be94c4de3
3 changed files with 11 additions and 10 deletions

View file

@ -66,7 +66,7 @@ public:
static TextureAtlas& Instance();
bool NeedsBuffered() const;
std::uint64_t BuildCount() const;
void RegisterTexture(const std::string& name, const std::string& path);
bool CacheTexture(const std::string& name, const std::string& path);