Index: src/gpu/gl/GrGLInterface.cpp |
diff --git a/src/gpu/gl/GrGLInterface.cpp b/src/gpu/gl/GrGLInterface.cpp |
index 5062d92c5e730b081cc7d0b42528f86faaf31997..b81d9ceeb84b378366a3e119a04e6812496327e9 100644 |
--- a/src/gpu/gl/GrGLInterface.cpp |
+++ b/src/gpu/gl/GrGLInterface.cpp |
@@ -357,8 +357,11 @@ bool GrGLInterface::validate() const { |
if (kGL_GrGLStandard != fStandard || |
(glVer >= GR_GL_VER(1,3)) || |
fExtensions.has("GL_ARB_texture_compression")) { |
- if (NULL == fFunctions.fCompressedTexImage2D || |
- NULL == fFunctions.fCompressedTexSubImage2D) { |
+ if (NULL == fFunctions.fCompressedTexImage2D |
+#if 0 |
+ || NULL == fFunctions.fCompressedTexSubImage2D |
+#endif |
+ ) { |
RETURN_FALSE_INTERFACE |
} |
} |