aboutsummaryrefslogtreecommitdiff
path: root/tools/depends/native/TexturePacker/src/DecoderManager.cpp
diff options
context:
space:
mode:
authorLukas Rusak <lorusak@gmail.com>2023-04-13 08:44:18 -0700
committerLukas Rusak <lorusak@gmail.com>2023-04-14 20:45:47 -0700
commit2084b0f60b4ca7c193c6b0ddc7e07dd56b42dec8 (patch)
tree19f705135bb4a08a2dfca5c4525e4e871efc90a8 /tools/depends/native/TexturePacker/src/DecoderManager.cpp
parent12be270f8827588cda4177936186bc00f7a382f1 (diff)
TexturePacker: IDecoder: remove FreeDecodedFrame method
we can now use RAII style alloc/dealloc for the image data with std::vector Signed-off-by: Lukas Rusak <lorusak@gmail.com>
Diffstat (limited to 'tools/depends/native/TexturePacker/src/DecoderManager.cpp')
-rw-r--r--tools/depends/native/TexturePacker/src/DecoderManager.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/tools/depends/native/TexturePacker/src/DecoderManager.cpp b/tools/depends/native/TexturePacker/src/DecoderManager.cpp
index 8f6a9041bb..5d900d7bfe 100644
--- a/tools/depends/native/TexturePacker/src/DecoderManager.cpp
+++ b/tools/depends/native/TexturePacker/src/DecoderManager.cpp
@@ -81,8 +81,3 @@ bool DecoderManager::LoadFile(const std::string &filename, DecodedFrames &frames
}
return false;
}
-
-void DecoderManager::FreeDecodedFrames(DecodedFrames &frames)
-{
- frames.clear();
-}