summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/Assets/CustomAssetLibrary.cpp
diff options
context:
space:
mode:
authorTilka <tilkax@gmail.com>2023-12-12 20:02:44 +0000
committerGitHub <noreply@github.com>2023-12-12 20:02:44 +0000
commit198a53e7dfe72f6016adb3271c530f9969975faa (patch)
tree83d7743829e30a3c633b66a5b5769a317c8779a7 /Source/Core/VideoCommon/Assets/CustomAssetLibrary.cpp
parent87b44a2fb8d91febde17cedd089080449fd6ff1f (diff)
parent4c7a4831cb44c22cceb11ab60d22eabaa378a0c0 (diff)
Merge pull request #12397 from lioncash/asset
CustomAssetLibrary: Remove unused GetAssetSize() function
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)
{