Index: src/gpu/glsl/GrGLSLSampler.h |
diff --git a/src/gpu/glsl/GrGLSLSampler.h b/src/gpu/glsl/GrGLSLSampler.h |
index a105009e6bd85b91acaf82ec78c2da1457fdd47a..bc90769295cb63c5f195734b6dd5e47e447760dd 100644 |
--- a/src/gpu/glsl/GrGLSLSampler.h |
+++ b/src/gpu/glsl/GrGLSLSampler.h |
@@ -29,7 +29,7 @@ public: |
// Returns the string to be used for the sampler in glsl 2D texture functions (texture, |
// texture2D, etc.) |
const char* getSamplerNameForTexture2D() const { |
- SkASSERT(GrSLTypeIs2DTextureType(this->type())); |
+ SkASSERT(GrSLTypeIs2DCombinedSamplerType(this->type())); |
return this->onGetSamplerNameForTexture2D(); |
} |