diff --git a/PVRTCEncoder/src/Decompressor.cpp b/PVRTCEncoder/src/Decompressor.cpp index 2f7db28..bb458a3 100644 --- a/PVRTCEncoder/src/Decompressor.cpp +++ b/PVRTCEncoder/src/Decompressor.cpp @@ -190,7 +190,7 @@ namespace PVRTCC { int16 va = static_cast(pa.Component(c)); int16 vb = static_cast(pb.Component(c)); - result.Component(c) = va + ((vb - va) * lerpVal) / 8; + result.Component(c) = (va * (8 - lerpVal) + vb * lerpVal) / 8; } }