aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/effects/GrConvolutionEffect.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/effects/GrConvolutionEffect.h')
-rw-r--r--src/gpu/effects/GrConvolutionEffect.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/gpu/effects/GrConvolutionEffect.h b/src/gpu/effects/GrConvolutionEffect.h
index 5ff6d16c8a..3638c0cf6a 100644
--- a/src/gpu/effects/GrConvolutionEffect.h
+++ b/src/gpu/effects/GrConvolutionEffect.h
@@ -23,11 +23,12 @@ public:
/// Convolve with an arbitrary user-specified kernel
GrConvolutionEffect(GrTexture*, Direction,
- int halfWidth, const float* kernel = NULL);
+ int halfWidth, const float* kernel);
- /// Convolve with a gaussian kernel
+ /// Convolve with a Gaussian kernel
GrConvolutionEffect(GrTexture*, Direction,
- int halfWidth, float gaussianSigma);
+ int halfWidth,
+ float gaussianSigma);
virtual ~GrConvolutionEffect();
const float* kernel() const { return fKernel; }