Commit 5d58173c authored by Vinson Lee's avatar Vinson Lee
Browse files

vao-element-array-buffer: Require OpenGL 1.5.



glGenBuffers is available only if the GL version is 1.5 or greater.
Signed-off-by: default avatarVinson Lee <vlee@vmware.com>
Reviewed-by: Brian Paul's avatarBrian Paul <brianp@vmware.com>
parent 15d34065
......@@ -68,6 +68,11 @@ piglit_init(int argc, char **argv)
};
GLubyte indices[] = {0, 1, 2, 3};
if (!GLEW_VERSION_1_5) {
printf("Requires OpenGL 1.5\n");
piglit_report_result(PIGLIT_SKIP);
}
piglit_require_extension("GL_ARB_vertex_array_object");
glClearColor(0, 0, 0, 1);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment