remove clearing gamma for BW, since caller does that now
authorreed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Wed, 28 Sep 2011 20:37:56 +0000 (20:37 +0000)
committerreed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Wed, 28 Sep 2011 20:37:56 +0000 (20:37 +0000)
git-svn-id: http://skia.googlecode.com/svn/trunk@2359 2bbb7eff-a529-9590-31e7-b0007b416f81

src/ports/SkFontHost_win.cpp

index b0537ad..e265c13 100755 (executable)
@@ -1309,11 +1309,6 @@ void SkFontHost::FilterRec(SkScalerContext::Rec* rec) {
         rec->fMaskFormat = SkMask::kLCD32_Format;
     }
 #endif
-    // don't specify gamma if we BW (perhaps caller should do this check)
-    if (SkMask::kBW_Format == rec->fMaskFormat) {
-        rec->fFlags &= ~(SkScalerContext::kGammaForBlack_Flag |
-                         SkScalerContext::kGammaForWhite_Flag);
-    }
 }
 
 //////////////////////////////////////////////////////////////////////////