TextureCacheBase: Support loading custom mipmaps.

This commit is contained in:
NeoBrainX
2012-05-12 14:31:38 +02:00
parent a5e68ab10e
commit 41d37ab0a0
4 changed files with 71 additions and 17 deletions

View File

@ -126,7 +126,8 @@ protected:
static GC_ALIGNED16(u8 *temp);
private:
static PC_TexFormat LoadCustomTexture(u64 tex_hash, int texformat, unsigned int& width, unsigned int& height, u8* dest);
static bool CheckForCustomTextureLODs(u64 tex_hash, int texformat, unsigned int levels);
static PC_TexFormat LoadCustomTexture(u64 tex_hash, int texformat, unsigned int level, unsigned int& width, unsigned int& height, u8* dest);
static void DumpTexture(TCacheEntryBase* entry, unsigned int level);