mirror of
https://github.com/yuzu-emu/FasTC
synced 2024-11-23 15:23:49 +00:00
Switch red and blue channels in our decompressor test.
This commit is contained in:
parent
7b72a84d87
commit
b8e155e11c
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ TEST(Decompressor, DecompressGray) {
|
||||||
for(int i = 0; i < kWidth; i++) {
|
for(int i = 0; i < kWidth; i++) {
|
||||||
for(int j = 0; j < kHeight; j++) {
|
for(int j = 0; j < kHeight; j++) {
|
||||||
const uint32 *pixelData = reinterpret_cast<const uint32 *>(outData);
|
const uint32 *pixelData = reinterpret_cast<const uint32 *>(outData);
|
||||||
EXPECT_EQ(PixelPrinter(pixelData[j*kWidth + i]), PixelPrinter(0xFF808081));
|
EXPECT_EQ(PixelPrinter(pixelData[j*kWidth + i]), PixelPrinter(0xFF818080));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue