From e16a9223fd2a09fb7ba72e20c957bef99cbef4fc Mon Sep 17 00:00:00 2001 From: "reed@android.com" Date: Fri, 30 Oct 2009 21:37:10 +0000 Subject: disable bogus assert (at least until I can investigate more) git-svn-id: http://skia.googlecode.com/svn/trunk@414 2bbb7eff-a529-9590-31e7-b0007b416f81 --- src/core/SkBlitter_4444.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') 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) { -- cgit v1.2.3