Commit 8dd3cda8 authored by Vinson Lee's avatar Vinson Lee Committed by Vinson Lee
Browse files

map_buffer_range_test: Require OpenGL 1.5.



glBufferData 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 34f689b5
......@@ -61,6 +61,11 @@ piglit_init(int argc, char *argv[])
int i;
bool ret;
if (!GLEW_VERSION_1_5) {
printf("Requires OpenGL 1.5\n");
piglit_report_result(PIGLIT_SKIP);
}
piglit_require_extension("GL_ARB_map_buffer_range");
for (i = 0; i < sizeof(data); i++) {
......
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