| Index: gm/shadertext3.cpp
|
| diff --git a/gm/shadertext3.cpp b/gm/shadertext3.cpp
|
| index 15b4f993175f9b6e9822a23173f213ab984b59e1..29ceac45792bd77c3ccca094bd6bcba205648988 100644
|
| --- a/gm/shadertext3.cpp
|
| +++ b/gm/shadertext3.cpp
|
| @@ -11,8 +11,8 @@
|
|
|
| namespace skiagm {
|
|
|
| -static void makebm(SkBitmap* bm, SkBitmap::Config config, int w, int h) {
|
| - bm->allocConfigPixels(config, w, h);
|
| +static void makebm(SkBitmap* bm, int w, int h) {
|
| + bm->allocN32Pixels(w, h);
|
| bm->eraseColor(SK_ColorTRANSPARENT);
|
|
|
| SkCanvas canvas(*bm);
|
| @@ -68,7 +68,7 @@ protected:
|
|
|
| static SkBitmap bmp;
|
| if (bmp.isNull()) {
|
| - makebm(&bmp, SkBitmap::kARGB_8888_Config, kPointSize / 4, kPointSize / 4);
|
| + makebm(&bmp, kPointSize / 4, kPointSize / 4);
|
| }
|
|
|
| SkPaint bmpPaint;
|
|
|