mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2025-02-17 20:31:57 -05:00
Fixed bad offset for ETC2 planar mode decoding.
This commit is contained in:
parent
f88da8bea4
commit
1c595a6820
1 changed files with 1 additions and 1 deletions
|
@ -639,7 +639,7 @@ namespace bgfx
|
|||
cV[1] = ( (_src[6] & 0x1f) << 2)
|
||||
| (_src[7] >> 5)
|
||||
;
|
||||
cV[2] = _src[8] & 0x3f;
|
||||
cV[2] = _src[7] & 0x3f;
|
||||
|
||||
c0[0] = bitRangeConvert(c0[0], 6, 8);
|
||||
c0[1] = bitRangeConvert(c0[1], 7, 8);
|
||||
|
|
Loading…
Reference in a new issue