diff --git a/PVRTCEncoder/src/Compressor.cpp b/PVRTCEncoder/src/Compressor.cpp index fd7298e..850f5d0 100644 --- a/PVRTCEncoder/src/Compressor.cpp +++ b/PVRTCEncoder/src/Compressor.cpp @@ -285,7 +285,7 @@ namespace PVRTCC { if(error < bestError) { bestError = error; - bestMod = modSteps[s]; + bestMod = s; } }