summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/Assets/CustomAssetLibrary.cpp
diff options
context:
space:
mode:
authorLioncash <mai.iam2048@gmail.com>2023-12-11 22:00:37 -0500
committerLioncash <mai.iam2048@gmail.com>2023-12-11 22:00:52 -0500
commit4c7a4831cb44c22cceb11ab60d22eabaa378a0c0 (patch)
tree7cdd83ee766df4f33720ccbd8081e432cd00fe40 /Source/Core/VideoCommon/Assets/CustomAssetLibrary.cpp
parent2c6bf2d224f5f3732d53244de53be266bbec2ac3 (diff)
CustomAssetLibrary: Remove unused GetAssetSize() function
There's a direct analogue of this function within DirectFilesystemAssetLibrary that *is* used, however, so we can get rid of this one.
Diffstat (limited to 'Source/Core/VideoCommon/Assets/CustomAssetLibrary.cpp')
-rw-r--r--Source/Core/VideoCommon/Assets/CustomAssetLibrary.cpp15
1 files changed, 0 insertions, 15 deletions
diff --git a/Source/Core/VideoCommon/Assets/CustomAssetLibrary.cpp b/Source/Core/VideoCommon/Assets/CustomAssetLibrary.cpp
index 7b6420088f..4446f602e8 100644
--- a/Source/Core/VideoCommon/Assets/CustomAssetLibrary.cpp
+++ b/Source/Core/VideoCommon/Assets/CustomAssetLibrary.cpp
@@ -10,21 +10,6 @@
namespace VideoCommon
{
-namespace
-{
-std::size_t GetAssetSize(const CustomTextureData& data)
-{
- std::size_t total = 0;
- for (const auto& slice : data.m_slices)
- {
- for (const auto& level : slice.m_levels)
- {
- total += level.data.size();
- }
- }
- return total;
-}
-} // namespace
CustomAssetLibrary::LoadInfo CustomAssetLibrary::LoadGameTexture(const AssetID& asset_id,
TextureData* data)
{