| Index: src/gpu/gl/GrGLGpu.cpp
|
| diff --git a/src/gpu/gl/GrGLGpu.cpp b/src/gpu/gl/GrGLGpu.cpp
|
| index 1ad398f829e3b0395435b327ebcec7c5efd9796d..339434721610ea869ab7fd344b76560a2ee8d196 100644
|
| --- a/src/gpu/gl/GrGLGpu.cpp
|
| +++ b/src/gpu/gl/GrGLGpu.cpp
|
| @@ -18,6 +18,7 @@
|
| #include "GrTypes.h"
|
| #include "GrVertices.h"
|
| #include "builders/GrGLShaderStringBuilder.h"
|
| +#include "glsl/GrGLSL.h"
|
| #include "glsl/GrGLSLCaps.h"
|
| #include "SkStrokeRec.h"
|
| #include "SkTemplates.h"
|
| @@ -2839,8 +2840,9 @@ void GrGLGpu::createCopyProgram() {
|
| );
|
|
|
| SkString fshaderTxt(version);
|
| - GrGLAppendGLSLDefaultFloatPrecisionDeclaration(kDefault_GrSLPrecision, this->glStandard(),
|
| - &fshaderTxt);
|
| + GrGLSLAppendDefaultFloatPrecisionDeclaration(kDefault_GrSLPrecision,
|
| + *this->glCaps().glslCaps(),
|
| + &fshaderTxt);
|
| vTexCoord.setTypeModifier(GrShaderVar::kVaryingIn_TypeModifier);
|
| vTexCoord.appendDecl(this->glCaps().glslCaps(), &fshaderTxt);
|
| fshaderTxt.append(";");
|
|
|