From a31de8f79711eb6160d5b66e4821d1a7921efff3 Mon Sep 17 00:00:00 2001 From: Pavel Krajcevski Date: Mon, 30 Sep 2013 11:20:08 -0400 Subject: [PATCH] Wrong indices for modulation values --- 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 c104f24..4be4c23 100644 --- a/PVRTCEncoder/src/Compressor.cpp +++ b/PVRTCEncoder/src/Compressor.cpp @@ -254,7 +254,7 @@ namespace PVRTCC { p.Component(c) = modVal; } p.A() = 255; - modulationImg(j, i) = p; + modulationImg(i, j) = p; } } modulationImg.DebugOutput("Modulation");