From f2609d1af3bc6e5715ac97429b8242526df64bb1 Mon Sep 17 00:00:00 2001 From: Soren Jorvang Date: Wed, 26 May 2010 20:52:44 +0000 Subject: [PATCH] #if 0 work-in-progress code. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5488 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/VideoCommon/Src/TextureDecoder.cpp | 2 ++ 1 file changed, 2 insertions(+) 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) {