disable premul check for now in 16bit blit, until we cleanup GDI's mess

git-svn-id: http://skia.googlecode.com/svn/trunk@2241 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
reed@google.com 2011-09-07 18:51:31 +00:00
parent e4123e9886
commit b423d49e3f

View File

@ -67,7 +67,8 @@ static void blit_lcd16_opaque(SkPMColor dst[], const uint16_t src[],
int dstG = SkGetPackedG32(d);
int dstB = SkGetPackedB32(d);
dst[i] = SkPackARGB32(blend32(0xFF, dstA, maskA),
// nocheck version for now, until we cleanup GDI's garbage bits
dst[i] = SkPackARGB32NoCheck(blend32(0xFF, dstA, maskA),
blend32(srcR, dstR, maskR),
blend32(srcG, dstG, maskG),
blend32(srcB, dstB, maskB));