Chromium Code Reviews| Index: src/gpu/gl/GrGLInterface.cpp |
| =================================================================== |
| --- src/gpu/gl/GrGLInterface.cpp (revision 10767) |
| +++ src/gpu/gl/GrGLInterface.cpp (working copy) |
| @@ -378,7 +378,7 @@ |
| } |
| } |
| } else { |
| - if (extensions.has("GL_OES_vertex_array_object")) { |
| + if (glVer >= GR_GL_VER(3,0) || extensions.has("GL_OES_vertex_array_object")) { |
| if (NULL == fBindVertexArray || |
| NULL == fDeleteVertexArrays || |
| NULL == fGenVertexArrays) { |