DescriptionChange the PKM decoder to adhere to sampler size
This fixes a bug where the red and blue channels seemed to be swapped on some platforms after decoding, and brings it more in line with the logic already in libbmp.
BUG=skia:
Committed: http://code.google.com/p/skia/source/detail?r=14881
Patch Set 1 #Patch Set 2 : Remove unused header file #Patch Set 3 : Use scaled width and height from sampler #
Total comments: 4
Patch Set 4 : Few style changes. #Patch Set 5 : Remove some whitespace #Messages
Total messages: 9 (0 generated)
|