diff options
| author | NeoBrainX <NeoBrainX@gmail.com> | 2012-05-12 14:31:38 +0200 |
|---|---|---|
| committer | NeoBrainX <NeoBrainX@gmail.com> | 2012-05-13 17:42:22 +0200 |
| commit | 41d37ab0a0e1236d4e5665c3a7206478ffca2a7f (patch) | |
| tree | e3baaac2407b9a7be60fea9a833c749dcfd88e19 /Source/Core/VideoCommon/Src/TextureCacheBase.h | |
| parent | a5e68ab10e2655853e7063ce3c7ce1aa31df9db8 (diff) | |
TextureCacheBase: Support loading custom mipmaps.
Diffstat (limited to 'Source/Core/VideoCommon/Src/TextureCacheBase.h')
| -rw-r--r-- | Source/Core/VideoCommon/Src/TextureCacheBase.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/Src/TextureCacheBase.h b/Source/Core/VideoCommon/Src/TextureCacheBase.h index a1d1bfb54c..9d29577c9c 100644 --- a/Source/Core/VideoCommon/Src/TextureCacheBase.h +++ b/Source/Core/VideoCommon/Src/TextureCacheBase.h @@ -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); |
