mirror of
https://github.com/yuzu-emu/FasTC.git
synced 2025-01-05 05:55:42 +00:00
Change DXT5 offset from 8 to 16. Fixes #22.
This commit is contained in:
parent
e2b741d977
commit
d9e66dd8a3
|
@ -88,7 +88,7 @@ namespace DXTC
|
|||
const uint32 kOffset = j*cj.Width() + i;
|
||||
ExtractBlock(inPixels + kOffset, cj.Width(), block);
|
||||
stb_compress_dxt_block(outBuf, block, 1, STB_DXT_DITHER);
|
||||
outBuf += 8;
|
||||
outBuf += 16;
|
||||
}
|
||||
startX = 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue