mirror of
https://github.com/yuzu-emu/FasTC
synced 2024-11-25 08:49:21 +00:00
Change DXT5 offset from 8 to 16. Fixes #22.
This commit is contained in:
parent
e2b741d977
commit
d9e66dd8a3
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ namespace DXTC
|
||||||
const uint32 kOffset = j*cj.Width() + i;
|
const uint32 kOffset = j*cj.Width() + i;
|
||||||
ExtractBlock(inPixels + kOffset, cj.Width(), block);
|
ExtractBlock(inPixels + kOffset, cj.Width(), block);
|
||||||
stb_compress_dxt_block(outBuf, block, 1, STB_DXT_DITHER);
|
stb_compress_dxt_block(outBuf, block, 1, STB_DXT_DITHER);
|
||||||
outBuf += 8;
|
outBuf += 16;
|
||||||
}
|
}
|
||||||
startX = 0;
|
startX = 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue