Index: src/gpu/effects/GrTextureDomain.cpp |
diff --git a/src/gpu/effects/GrTextureDomain.cpp b/src/gpu/effects/GrTextureDomain.cpp |
index 400c0b6e1c685a286bd9c71e88f6771b65509a3a..19882423fe75b9d3c7fbdeb6f36b6fb542ff1d49 100644 |
--- a/src/gpu/effects/GrTextureDomain.cpp |
+++ b/src/gpu/effects/GrTextureDomain.cpp |
@@ -100,11 +100,11 @@ void GrTextureDomain::GLDomain::sampleTexture(GrGLShaderBuilder* builder, |
inCoords.c_str()); |
builder->codeAppend(";"); |
- builder->codeAppend(GrGLShaderVar::PrecisionString(program->glslCaps(), |
- kHigh_GrSLPrecision)); |
+ builder->codeAppend(GrGLSLShaderVar::PrecisionString(program->glslCaps(), |
+ kHigh_GrSLPrecision)); |
builder->codeAppendf("float x = (%s).x;", inCoords.c_str()); |
- builder->codeAppend(GrGLShaderVar::PrecisionString(program->glslCaps(), |
- kHigh_GrSLPrecision)); |
+ builder->codeAppend(GrGLSLShaderVar::PrecisionString(program->glslCaps(), |
+ kHigh_GrSLPrecision)); |
builder->codeAppendf("float y = (%s).y;", inCoords.c_str()); |
builder->codeAppendf("x = abs(2.0*(x - %s.x)/(%s.z - %s.x) - 1.0);", |