diff options
author | 2014-06-11 10:38:47 -0700 | |
---|---|---|
committer | 2014-06-11 10:38:48 -0700 | |
commit | 37d20f75320e8182f4cdbce5f3d59a339f915e05 (patch) | |
tree | 2c9f060fbc8016e80bd02c6bc232ea7ebf9b34c0 /src/gpu/gl/GrGLInterface.cpp | |
parent | 5926b86b90c68bffefbdc8639e41b5bc9102cec6 (diff) |
Add support for glCompressedTexSubImage2D
R=bsalomon@google.com, robertphillips@google.com
Author: krajcevski@google.com
Review URL: https://codereview.chromium.org/329213002
Diffstat (limited to 'src/gpu/gl/GrGLInterface.cpp')
-rw-r--r-- | src/gpu/gl/GrGLInterface.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gpu/gl/GrGLInterface.cpp b/src/gpu/gl/GrGLInterface.cpp index ee184d0a56..5062d92c5e 100644 --- a/src/gpu/gl/GrGLInterface.cpp +++ b/src/gpu/gl/GrGLInterface.cpp @@ -357,7 +357,8 @@ bool GrGLInterface::validate() const { 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 } } |