| Index: src/gpu/effects/GrConvolutionEffect.cpp
|
| diff --git a/src/gpu/effects/GrConvolutionEffect.cpp b/src/gpu/effects/GrConvolutionEffect.cpp
|
| index 4d16361fe50f8064fd2a1b8ee2d79bafaf4edb5e..57cdece9d8217f59e58b27c192a2dc3ac540b01f 100644
|
| --- a/src/gpu/effects/GrConvolutionEffect.cpp
|
| +++ b/src/gpu/effects/GrConvolutionEffect.cpp
|
| @@ -120,7 +120,7 @@ void GrGLConvolutionEffect::setData(const GrGLUniformManager& uman,
|
| default:
|
| GrCrash("Unknown filter direction.");
|
| }
|
| - uman.set2fv(fImageIncrementUni, 0, 1, imageIncrement);
|
| + uman.set2fv(fImageIncrementUni, 1, imageIncrement);
|
| if (conv.useBounds()) {
|
| const float* bounds = conv.bounds();
|
| if (Gr1DKernelEffect::kY_Direction == conv.direction() &&
|
| @@ -130,7 +130,7 @@ void GrGLConvolutionEffect::setData(const GrGLUniformManager& uman,
|
| uman.set2f(fBoundsUni, bounds[0], bounds[1]);
|
| }
|
| }
|
| - uman.set1fv(fKernelUni, 0, this->width(), conv.kernel());
|
| + uman.set1fv(fKernelUni, this->width(), conv.kernel());
|
| }
|
|
|
| GrGLEffect::EffectKey GrGLConvolutionEffect::GenKey(const GrDrawEffect& drawEffect,
|
|
|