Index: samplecode/SampleEffects.cpp |
diff --git a/samplecode/SampleEffects.cpp b/samplecode/SampleEffects.cpp |
index a65b10b71f88b37e956862735f0b25c8c7824652..cbefae86083b1cfbaeb9b47678da55be46210397 100644 |
--- a/samplecode/SampleEffects.cpp |
+++ b/samplecode/SampleEffects.cpp |
@@ -33,8 +33,8 @@ static void paint_proc2(SkPaint* paint) { |
paint->setMaskFilter( |
SkBlurMaskFilter::CreateEmboss(SkBlurMask::ConvertRadiusToSigma(SkIntToScalar(1)), |
dir, |
- SkFloatToScalar(0.1f), |
- SkFloatToScalar(0.05f)))->unref(); |
+ 0.1f, |
+ 0.05f))->unref(); |
} |
static void paint_proc3(SkPaint* paint) { |