diff options
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 d69f5c7520..a5ddd9f83c 100644 --- a/src/gpu/gl/GrGLInterface.cpp +++ b/src/gpu/gl/GrGLInterface.cpp @@ -363,7 +363,8 @@ bool GrGLInterface::validate(GrGLBinding binding) const { } } - if (kDesktop_GrGLBinding == binding && glVer >= GR_GL_VER(3, 0)) { + // glGetStringi was added in version 3.0 of both desktop and ES. + if (glVer >= GR_GL_VER(3, 0)) { if (NULL == fGetStringi) { return false; } |