| Index: samplecode/SampleText.cpp
|
| diff --git a/samplecode/SampleText.cpp b/samplecode/SampleText.cpp
|
| index c6aaa52a0b11f76e3823104be4b9e26406b7972f..aa314dd58b03545cd291a0cc33817108bd79d691 100644
|
| --- a/samplecode/SampleText.cpp
|
| +++ b/samplecode/SampleText.cpp
|
| @@ -176,7 +176,7 @@ void SkPowerMode::init(SkScalar e) {
|
| // printf(" %d %g", i, x);
|
| x = powf(x, ee);
|
| // printf(" %g", x);
|
| - int xx = SkScalarRound(SkFloatToScalar(x * 255));
|
| + int xx = SkScalarRound(x * 255);
|
| // printf(" %d\n", xx);
|
| fTable[i] = SkToU8(xx);
|
| }
|
|
|