diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/core/SkBlitter_4444.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/SkBlitter_4444.cpp b/src/core/SkBlitter_4444.cpp index 736f8c3c2d..81bbc48cbb 100644 --- a/src/core/SkBlitter_4444.cpp +++ b/src/core/SkBlitter_4444.cpp @@ -82,9 +82,12 @@ SkARGB4444_Blitter::SkARGB4444_Blitter(const SkBitmap& device, const SkPaint& pa fRawColor16Other = fRawColor16; } +#if 0 /// don't think this assertion is true, but need it be? + // our dithered color will be the same or more opaque than the original // so use dithered to compute our scale SkASSERT(SkGetPackedA4444(fPMColor16Other) >= SkGetPackedA4444(fPMColor16)); +#endif fScale16 = SkAlpha15To16(SkGetPackedA4444(fPMColor16Other)); if (16 == fScale16) { |