mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-26 07:45:33 +01:00
Merge pull request #12397 from lioncash/asset
CustomAssetLibrary: Remove unused GetAssetSize() function
This commit is contained in:
commit
198a53e7df
@ -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)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user