Commit 63c5c8f5 authored by Vinson Lee's avatar Vinson Lee
Browse files

spec/arb_copy_buffer: Require OpenGL 1.5.

glBufferData is available only if the GL version is 1.5 or greater.
Signed-off-by: default avatarVinson Lee <>
Reviewed-by: Brian Paul's avatarBrian Paul <>
parent 5d58173c
...@@ -69,6 +69,10 @@ do_copy() ...@@ -69,6 +69,10 @@ do_copy()
void void
piglit_init(int argc, char *argv[]) piglit_init(int argc, char *argv[])
{ {
if (!GLEW_VERSION_1_5) {
printf("Requires OpenGL 1.5\n");
piglit_require_extension("GL_ARB_vertex_buffer_object"); piglit_require_extension("GL_ARB_vertex_buffer_object");
piglit_require_extension("GL_ARB_copy_buffer"); piglit_require_extension("GL_ARB_copy_buffer");
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