1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-06 17:41:04 +00:00

Textures: Load base pack only as last fallback (#8974)

This commit is contained in:
SmallJoker 2019-09-29 19:57:29 +02:00 committed by GitHub
parent c2458d3d3a
commit 61e9c1b0dd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 5 deletions

View file

@ -64,7 +64,7 @@ std::string getImagePath(std::string path);
Utilizes a thread-safe cache.
*/
std::string getTexturePath(const std::string &filename);
std::string getTexturePath(const std::string &filename, bool *is_base_pack = nullptr);
void clearTextureNameCache();