diff options
Diffstat (limited to 'samplecode/SampleFatBits.cpp')
-rw-r--r-- | samplecode/SampleFatBits.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/samplecode/SampleFatBits.cpp b/samplecode/SampleFatBits.cpp index cf441cd45c..c6fc67f3cc 100644 --- a/samplecode/SampleFatBits.cpp +++ b/samplecode/SampleFatBits.cpp @@ -106,8 +106,8 @@ public: fInverse.setScale(SK_Scalar1 / zoom, SK_Scalar1 / zoom); fShader->setLocalMatrix(fMatrix); - SkImage::Info info = { - width, height, SkImage::kPMColor_ColorType, SkImage::kPremul_AlphaType + SkImageInfo info = { + width, height, kPMColor_SkColorType, kPremul_SkAlphaType }; fMinSurface.reset(SkSurface::NewRaster(info)); info.fWidth *= zoom; |