| Index: samplecode/SampleFilter2.cpp
|
| diff --git a/samplecode/SampleFilter2.cpp b/samplecode/SampleFilter2.cpp
|
| index f3ab7f4574b1e2c7c5449151f89b54791fbb4869..552ce8a83cba17cc61e8a58fe05de8b49e7590e7 100644
|
| --- a/samplecode/SampleFilter2.cpp
|
| +++ b/samplecode/SampleFilter2.cpp
|
| @@ -103,7 +103,7 @@ protected:
|
| p.setTextSize(SkIntToScalar(18));
|
| SkString s;
|
| s.append(" depth=");
|
| - s.appendS32(fBitmaps[i].config() == SkBitmap::kRGB_565_Config ? 16 : 32);
|
| + s.appendS32(fBitmaps[i].colorType() == kRGB_565_SkColorType ? 16 : 32);
|
| canvas->drawText(s.c_str(), s.size(), x + W + SkIntToScalar(4),
|
| y + H/2, p);
|
| }
|
|
|