diff options
author | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-10-16 14:16:11 +0000 |
---|---|---|
committer | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-10-16 14:16:11 +0000 |
commit | b022177777c3602c47bb71c07920e63a261c5038 (patch) | |
tree | 9a23dbdc3b2c265bea0a5749bfd10b8602686be9 /src/core | |
parent | 1708eea54ddd2c6c5f96e9e132980ec3fd2ee648 (diff) |
Require matrix for custom stage to be set when custom stage is installed.
Review URL: https://codereview.appspot.com/6696044
git-svn-id: http://skia.googlecode.com/svn/trunk@5962 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/SkShader.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/core/SkShader.cpp b/src/core/SkShader.cpp index 2f1def62c1..7e3a92bc57 100644 --- a/src/core/SkShader.cpp +++ b/src/core/SkShader.cpp @@ -205,9 +205,8 @@ SkShader::GradientType SkShader::asAGradient(GradientInfo* info) const { return kNone_GradientType; } -GrCustomStage* SkShader::asNewCustomStage(GrContext* context, - GrSamplerState* sampler) const { - return NULL; +bool SkShader::asNewCustomStage(GrContext*, GrSamplerState*) const { + return false; } SkShader* SkShader::CreateBitmapShader(const SkBitmap& src, |