Index: src/gpu/gl/GrGLCaps.cpp |
diff --git a/src/gpu/gl/GrGLCaps.cpp b/src/gpu/gl/GrGLCaps.cpp |
index 8474873ffff5d937f5edc2084e67e0bc5002ac17..f3329578ce76af14cce0be0afca5f93346799c2f 100644 |
--- a/src/gpu/gl/GrGLCaps.cpp |
+++ b/src/gpu/gl/GrGLCaps.cpp |
@@ -502,6 +502,9 @@ void GrGLCaps::initConfigTexturableTable(const GrGLContextInfo& ctxInfo, const G |
// however, it is only available on standard OpenGL after version 1.3 |
bool hasCompressTex2D = (kGL_GrGLStandard != standard || version >= GR_GL_VER(1, 3)); |
+ fCompressedTexSubImageSupport = |
+ hasCompressTex2D && (NULL != gli->fFunctions.fCompressedTexSubImage2D); |
+ |
// Check for ETC1 |
bool hasETC1 = false; |