TextureCacheBase: Remove the texture size limit for custom textures. Only the GPU restrictions for maximum texture size remain.

This commit is contained in:
NeoBrainX
2012-05-13 15:38:56 +02:00
parent 41d37ab0a0
commit 72e83140f0
3 changed files with 33 additions and 20 deletions

View File

@ -124,10 +124,11 @@ protected:
TextureCache();
static GC_ALIGNED16(u8 *temp);
static unsigned int temp_size;
private:
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 PC_TexFormat LoadCustomTexture(u64 tex_hash, int texformat, unsigned int level, unsigned int& width, unsigned int& height);
static void DumpTexture(TCacheEntryBase* entry, unsigned int level);