Index: src/gpu/effects/GrTextureDomain.cpp |
diff --git a/src/gpu/effects/GrTextureDomain.cpp b/src/gpu/effects/GrTextureDomain.cpp |
index 760fd575072c86ddb15e8fd67ae75eed1a7172ba..29d5fc9453d54f0aefb3e950410303d7952afefd 100644 |
--- a/src/gpu/effects/GrTextureDomain.cpp |
+++ b/src/gpu/effects/GrTextureDomain.cpp |
@@ -13,6 +13,7 @@ |
#include "gl/GrGLFragmentProcessor.h" |
#include "gl/builders/GrGLProgramBuilder.h" |
#include "glsl/GrGLSLProgramDataManager.h" |
+#include "glsl/GrGLSLTextureSampler.h" |
GrTextureDomain::GrTextureDomain(const SkRect& domain, Mode mode, int index) |
: fIndex(index) { |
@@ -45,7 +46,7 @@ void GrTextureDomain::GLDomain::sampleTexture(GrGLShaderBuilder* builder, |
const GrTextureDomain& textureDomain, |
const char* outColor, |
const SkString& inCoords, |
- const GrGLProcessor::TextureSampler sampler, |
+ const GrGLSLTextureSampler& sampler, |
const char* inModulateColor) { |
SkASSERT((Mode)-1 == fMode || textureDomain.mode() == fMode); |
SkDEBUGCODE(fMode = textureDomain.mode();) |