Fixed bad offset for ETC2 planar mode decoding.

This commit is contained in:
bkaradzic 2013-09-15 20:42:28 -07:00
parent f88da8bea4
commit 1c595a6820

View file

@ -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);