mirror of
https://github.com/yuzu-emu/FasTC.git
synced 2025-01-24 13:21:08 +00:00
If our compile flag is set to output debug images with tests, then actually do it.
This commit is contained in:
parent
b3f8fcd454
commit
b3de3f2c01
|
@ -82,7 +82,11 @@ class ImageTester {
|
||||||
uint32 *outPixels = new uint32[w * h];
|
uint32 *outPixels = new uint32[w * h];
|
||||||
|
|
||||||
DecompressionJob dcj(data, reinterpret_cast<uint8 *>(outPixels), 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,
|
bool result = pvrtexture::Transcode(pvrTex,
|
||||||
pvrtexture::PVRStandard8PixelType,
|
pvrtexture::PVRStandard8PixelType,
|
||||||
|
|
Loading…
Reference in a new issue