aboutsummaryrefslogtreecommitdiff
path: root/tools/depends/native/TexturePacker/src/DecoderManager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/depends/native/TexturePacker/src/DecoderManager.cpp')
-rw-r--r--tools/depends/native/TexturePacker/src/DecoderManager.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/depends/native/TexturePacker/src/DecoderManager.cpp b/tools/depends/native/TexturePacker/src/DecoderManager.cpp
index b605e0e7fc..1b53b0ff11 100644
--- a/tools/depends/native/TexturePacker/src/DecoderManager.cpp
+++ b/tools/depends/native/TexturePacker/src/DecoderManager.cpp
@@ -34,9 +34,8 @@ DecoderManager::DecoderManager()
}
// returns true for png, bmp, tga, jpg and dds files, otherwise returns false
-bool DecoderManager::IsSupportedGraphicsFile(char *strFileName)
+bool DecoderManager::IsSupportedGraphicsFile(std::string_view filename)
{
- std::string filename = strFileName;
if (filename.length() < 4)
return false;