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.
This commit is contained in:
Lioncash 2023-12-11 22:00:37 -05:00
parent 2c6bf2d224
commit 4c7a4831cb

View File

@ -10,21 +10,6 @@
namespace VideoCommon 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, CustomAssetLibrary::LoadInfo CustomAssetLibrary::LoadGameTexture(const AssetID& asset_id,
TextureData* data) TextureData* data)
{ {