Index: src/codec/SkSwizzler.h |
diff --git a/src/codec/SkSwizzler.h b/src/codec/SkSwizzler.h |
index 8a471e9b73e3a3943d0fea37b4ee91a1eecef709..e3a38cbbf466a58bb1480a32886817156156875a 100644 |
--- a/src/codec/SkSwizzler.h |
+++ b/src/codec/SkSwizzler.h |
@@ -155,6 +155,8 @@ public: |
* the colorTable. i.e. each 4-byte pixel will be set to |
* colorTable[(uint8_t) colorOrIndex]. |
* |
+ * If dstInfo.colorType() is kGray, colorOrIndex is always treated as an 8-bit color. |
+ * |
* Other SkColorTypes are not supported. |
* |
*/ |