HiresTextures: Move the maximum mip level check from DDS to main loader

This way that the mip count check occurs on .png and uncombined DDS
textures as well.
This commit is contained in:
Stenzek
2017-04-21 19:53:03 +10:00
parent a6a13f51c1
commit 20cbef8e9f
3 changed files with 48 additions and 41 deletions

View File

@ -28,6 +28,8 @@ public:
size_t tlut_size, u32 width, u32 height, int format,
bool has_mipmaps, bool dump = false);
static u32 CalculateMipCount(u32 width, u32 height);
~HiresTexture();
HostTextureFormat GetFormat() const;