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