Index: src/gpu/glsl/GrGLSL.h |
diff --git a/src/gpu/glsl/GrGLSL.h b/src/gpu/glsl/GrGLSL.h |
index a39f104fab0e8d993b88063241f22394c0776942..ac38522ca1401613f36e643228fd6272c344bf98 100644 |
--- a/src/gpu/glsl/GrGLSL.h |
+++ b/src/gpu/glsl/GrGLSL.h |
@@ -85,6 +85,8 @@ static inline const char* GrGLSLTypeString(GrSLType t) { |
return "mat4"; |
case kSampler2D_GrSLType: |
return "sampler2D"; |
+ case kSamplerExternal_GrSLType: |
+ return "samplerExternalOES"; |
default: |
SkFAIL("Unknown shader var type."); |
return ""; // suppress warning |