mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-27 05:45:18 +01:00
Refactor tile.cpp/h parts except texturesource.cpp
This commit is contained in:
@@ -27,7 +27,7 @@ void clearTextureNameCache();
|
||||
|
||||
// Find out the full path of an image by trying different filename extensions.
|
||||
// If failed, return "".
|
||||
std::string getImagePath(std::string path);
|
||||
std::string getImagePath(std::string_view path);
|
||||
|
||||
/* Gets the path to a texture by first checking if the texture exists
|
||||
* in texture_path and if not, using the data path.
|
||||
|
||||
Reference in New Issue
Block a user