diff --git a/PVRTCEncoder/test/DecompTestPVR.cpp b/PVRTCEncoder/test/DecompTestPVR.cpp index 6ac498a..e5a64f2 100644 --- a/PVRTCEncoder/test/DecompTestPVR.cpp +++ b/PVRTCEncoder/test/DecompTestPVR.cpp @@ -82,7 +82,11 @@ class ImageTester { uint32 *outPixels = new uint32[w * h]; DecompressionJob dcj(data, reinterpret_cast(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,