Image.st
branchjv
changeset 7214 3ed9ddd4332c
parent 7207 570a0d0344d7
parent 7210 f3e957711d10
child 7223 bce4cd6c45cd
--- a/Image.st	Tue Mar 15 07:54:53 2016 +0000
+++ b/Image.st	Wed Mar 16 06:46:30 2016 +0100
@@ -14585,7 +14585,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.