If our compile flag is set to output debug images with tests, then actually do it.

This commit is contained in:
Pavel Krajcevski 2013-09-12 14:45:42 -04:00
parent b3f8fcd454
commit b3de3f2c01

View File

@ -82,7 +82,11 @@ class ImageTester {
uint32 *outPixels = new uint32[w * h];
DecompressionJob dcj(data, reinterpret_cast<uint8 *>(outPixels), w, h);
PVRTCC::Decompress(dcj, PVRTCC::eWrapMode_Wrap);
#ifdef OUTPUT_DEBUG_IMAGE
PVRTCC::Decompress(dcj, twobpp, PVRTCC::eWrapMode_Wrap, true);
#else
PVRTCC::Decompress(dcj, twobpp, PVRTCC::eWrapMode_Wrap);
#endif
bool result = pvrtexture::Transcode(pvrTex,
pvrtexture::PVRStandard8PixelType,