diff options
Diffstat (limited to 'src/effects/SkMatrixConvolutionImageFilter.cpp')
-rw-r--r-- | src/effects/SkMatrixConvolutionImageFilter.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/effects/SkMatrixConvolutionImageFilter.cpp b/src/effects/SkMatrixConvolutionImageFilter.cpp index e6067ea96a..ccc8859013 100644 --- a/src/effects/SkMatrixConvolutionImageFilter.cpp +++ b/src/effects/SkMatrixConvolutionImageFilter.cpp @@ -279,7 +279,7 @@ private: typedef GrSingleTextureEffect INHERITED; }; -class GrGLMatrixConvolutionEffect : public GrGLProgramStage { +class GrGLMatrixConvolutionEffect : public GrGLLegacyProgramStage { public: GrGLMatrixConvolutionEffect(const GrProgramStageFactory& factory, const GrCustomStage& stage); @@ -307,11 +307,13 @@ private: UniformHandle fTargetUni; UniformHandle fGainUni; UniformHandle fBiasUni; + + typedef GrGLLegacyProgramStage INHERITED; }; GrGLMatrixConvolutionEffect::GrGLMatrixConvolutionEffect(const GrProgramStageFactory& factory, const GrCustomStage& stage) - : GrGLProgramStage(factory) + : INHERITED(factory) , fKernelUni(GrGLUniformManager::kInvalidUniformHandle) , fImageIncrementUni(GrGLUniformManager::kInvalidUniformHandle) , fTargetUni(GrGLUniformManager::kInvalidUniformHandle) |