GrDrawTarget::AutoStateRestore asr(target, GrDrawTarget::kReset_ASRInit);
GrDrawState* drawState = target->drawState();
drawState->setRenderTarget(rt);
- SkAutoTUnref<GrEffectRef> conv(GrConvolutionEffect::CreateGuassian(texture,
+ SkAutoTUnref<GrEffectRef> conv(GrConvolutionEffect::CreateGaussian(texture,
direction,
radius,
sigma));
}
/// Convolve with a Gaussian kernel
- static GrEffectRef* CreateGuassian(GrTexture* tex,
+ static GrEffectRef* CreateGaussian(GrTexture* tex,
Direction dir,
int halfWidth,
float gaussianSigma) {