Mercurial > MadButterfly
diff src/graph_engine_skia.cpp @ 497:6abc53f00792 Android_Skia
It may not need to call unref() for xfermode object.
unref() makes compile-time fault. It seems Skia don't want we to call
it. It is removed temporary and should be reviewed, later.
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Thu, 26 Nov 2009 15:03:01 +0800 |
parents | 9e36e06fcc18 |
children | b106fa78a090 |
line wrap: on
line diff
--- a/src/graph_engine_skia.cpp Thu Nov 26 15:03:01 2009 +0800 +++ b/src/graph_engine_skia.cpp Thu Nov 26 15:03:01 2009 +0800 @@ -757,7 +757,7 @@ _prepare_paint(canvas, SkPaint::kFill_Style); mode = SkPorterDuff::CreateXfermode(SkPorterDuff::kSrc_Mode); paint->setXfermode(mode); - mode->unref(); + /* mode->unref(); */ canvas->canvas->drawPaint(*paint);