Index: src/gpu/gl/GrGLInterface.cpp |
diff --git a/src/gpu/gl/GrGLInterface.cpp b/src/gpu/gl/GrGLInterface.cpp |
index 8054fd5d1e5f0c14341f43a8ab6a2f1b813ba0ca..d4db766bcc00177092a186647990a2808f7f30a9 100644 |
--- a/src/gpu/gl/GrGLInterface.cpp |
+++ b/src/gpu/gl/GrGLInterface.cpp |
@@ -461,6 +461,15 @@ bool GrGLInterface::validate() const { |
} |
} |
+ if (kGLES_GrGLStandard == fStandard || glVer >= GR_GL_VER(4,1) || |
+ fExtensions.has("GL_ARB_ES2_compatibility")) { |
+#if 0 // Enable this once Chrome gives us the function ptr |
+ if (NULL == fFunctions.fGetShaderPrecisionFormat) { |
+ RETURN_FALSE_INTERFACE |
+ } |
+#endif |
+ } |
+ |
if (fExtensions.has("GL_NV_path_rendering")) { |
if (NULL == fFunctions.fPathCommands || |
NULL == fFunctions.fPathCoords || |