changeset 7210 | f3e957711d10 |
parent 7206 | 0617f797a3bb |
child 7214 | 3ed9ddd4332c |
child 7222 | 77eae07d014e |
--- a/Image.st Tue Mar 15 22:44:33 2016 +0100 +++ b/Image.st Tue Mar 15 22:44:46 2016 +0100 @@ -14477,7 +14477,7 @@ dstIndex := dstRow. 1 to:w do:[:wi | - word := tmpData wordAt:srcIndex MSB:isMSB. + word := tmpData unsignedInt16At:srcIndex MSB:isMSB. r := (word bitShift:shR) bitAnd:maskR. g := (word bitShift:shG) bitAnd:maskG. b := (word bitShift:shB) bitAnd:maskB.