Index: src/gpu/gl/GrGLSampler.h |
diff --git a/src/gpu/gl/GrGLSampler.h b/src/gpu/gl/GrGLSampler.h |
index e270f5deacd007e00e5b414adaaf045e1c595d6b..1f67ac9a5e8c0320e6e95c80d04b3911541b8b9f 100644 |
--- a/src/gpu/gl/GrGLSampler.h |
+++ b/src/gpu/gl/GrGLSampler.h |
@@ -20,7 +20,7 @@ public: |
GrSLType type, |
GrSLPrecision precision, |
const char* name) : INHERITED(visibility, config) { |
- SkASSERT(GrSLTypeIsSamplerType(type)); |
+ SkASSERT(GrSLTypeIsCombinedSamplerType(type)); |
fShaderVar.setType(type); |
fShaderVar.setTypeModifier(GrGLSLShaderVar::kUniform_TypeModifier); |
fShaderVar.setPrecision(precision); |