| Index: ui/gl/gl_helper.h
|
| diff --git a/ui/gl/gl_helper.h b/ui/gl/gl_helper.h
|
| index ed17bbd76bea45b6f4a2e16c73d83c747d62dad2..364e0dae3f48d9d689bf18ff8a294f35a854a4a4 100644
|
| --- a/ui/gl/gl_helper.h
|
| +++ b/ui/gl/gl_helper.h
|
| @@ -34,6 +34,10 @@ class GL_EXPORT GLHelper {
|
|
|
| // Draws a quad to the currently bound frame buffer.
|
| static void DrawQuad(GLuint vertex_buffer);
|
| +
|
| + // When using the desktop core profile we have to bind a VAO before
|
| + // calling glVertexAttribPointer.
|
| + static bool ShouldTestsUseVAOs();
|
| };
|
|
|
| } // namespace gl
|
|
|