diff options
| author | Soren Jorvang <soren.jorvang@gmail.com> | 2010-05-26 20:52:44 +0000 |
|---|---|---|
| committer | Soren Jorvang <soren.jorvang@gmail.com> | 2010-05-26 20:52:44 +0000 |
| commit | f2609d1af3bc6e5715ac97429b8242526df64bb1 (patch) | |
| tree | f81cf5157ad2e4c4d190f47e3cf003c1ed872dd7 /Source/Core/VideoCommon/Src/TextureDecoder.cpp | |
| parent | c7c0733dba7446c4818c74ef199a00dbfa722a2f (diff) | |
#if 0 work-in-progress code.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5488 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/VideoCommon/Src/TextureDecoder.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/Src/TextureDecoder.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/Src/TextureDecoder.cpp b/Source/Core/VideoCommon/Src/TextureDecoder.cpp index bebe8776a8..be516d7cfb 100644 --- a/Source/Core/VideoCommon/Src/TextureDecoder.cpp +++ b/Source/Core/VideoCommon/Src/TextureDecoder.cpp @@ -510,6 +510,7 @@ void decodeDXTBlock(u32 *dst, const DXTBlock *src, int pitch) } } +#if 0 // TODO - currently does not handle transparency correctly and causes problems when texture dimensions are not multiples of 8 static void copyDXTBlock(u8* dst, const u8* src) { ((u16*)dst)[0] = Common::swap16(((u16*)src)[0]); @@ -522,6 +523,7 @@ static void copyDXTBlock(u8* dst, const u8* src) pixels = ((pixels >> 2) & 0x33333333) | ((pixels << 2) & 0xCCCCCCCC); ((u32*)dst)[1] = pixels; } +#endif static PC_TexFormat GetPCFormatFromTLUTFormat(int tlutfmt) { |
