Index: src/gpu/gl/GrGLCaps.cpp |
=================================================================== |
--- src/gpu/gl/GrGLCaps.cpp (revision 10767) |
+++ src/gpu/gl/GrGLCaps.cpp (working copy) |
@@ -213,7 +213,8 @@ |
fVertexArrayObjectSupport = version >= GR_GL_VER(3, 0) || |
ctxInfo.hasExtension("GL_ARB_vertex_array_object"); |
} else { |
- fVertexArrayObjectSupport = ctxInfo.hasExtension("GL_OES_vertex_array_object"); |
+ fVertexArrayObjectSupport = version >= GR_GL_VER(3, 0) || |
+ ctxInfo.hasExtension("GL_OES_vertex_array_object"); |
} |
if (kES_GrGLBinding == binding) { |