diff options
Diffstat (limited to 'samplecode/SampleShaderText.cpp')
-rw-r--r-- | samplecode/SampleShaderText.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/samplecode/SampleShaderText.cpp b/samplecode/SampleShaderText.cpp index bed4835f6c..eb92efdac3 100644 --- a/samplecode/SampleShaderText.cpp +++ b/samplecode/SampleShaderText.cpp @@ -35,7 +35,7 @@ static void makebm(SkBitmap* bm, SkBitmap::Config config, int w, int h) { canvas.drawPaint(paint); } -SkShader* MakeBitmapShader(SkShader::TileMode tx, SkShader::TileMode ty, +static SkShader* MakeBitmapShader(SkShader::TileMode tx, SkShader::TileMode ty, int w, int h) { static SkBitmap bmp; if (bmp.isNull()) { |