diff options
Diffstat (limited to 'gm/xfermodes.cpp')
-rw-r--r-- | gm/xfermodes.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gm/xfermodes.cpp b/gm/xfermodes.cpp index 5d23104ad0..9bf46f6eb5 100644 --- a/gm/xfermodes.cpp +++ b/gm/xfermodes.cpp @@ -259,7 +259,7 @@ protected: #if 1 const char* label = SkBlendMode_Name(gModes[i].fMode); - canvas->drawText(label, strlen(label), + canvas->drawString(label, x + w/2, y - labelP.getTextSize()/2, labelP); #endif x += w + SkIntToScalar(10); |