Add support for glCompressedTexSubImage2D
R=bsalomon@google.com, robertphillips@google.com
Author: krajcevski@google.com
Review URL: https://codereview.chromium.org/329213002
diff --git a/src/gpu/gl/GrGLInterface.cpp b/src/gpu/gl/GrGLInterface.cpp
index ee184d0..5062d92 100644
--- a/src/gpu/gl/GrGLInterface.cpp
+++ b/src/gpu/gl/GrGLInterface.cpp
@@ -357,7 +357,8 @@
if (kGL_GrGLStandard != fStandard ||
(glVer >= GR_GL_VER(1,3)) ||
fExtensions.has("GL_ARB_texture_compression")) {
- if (NULL == fFunctions.fCompressedTexImage2D) {
+ if (NULL == fFunctions.fCompressedTexImage2D ||
+ NULL == fFunctions.fCompressedTexSubImage2D) {
RETURN_FALSE_INTERFACE
}
}