From 33a1dab0a9310a1e51abb1c49c2075c43300b13e Mon Sep 17 00:00:00 2001 From: Pavel Krajcevski Date: Wed, 25 Sep 2013 16:37:34 -0400 Subject: [PATCH] The modulation value is the index. --- PVRTCEncoder/src/Compressor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } }