mirror of
https://github.com/yuzu-emu/FasTC.git
synced 2024-11-24 07:25:42 +01: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];
|
||||
|
||||
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,
|
||||
|
Loading…
Reference in New Issue
Block a user