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 <>
Reviewed-by: Brian Paul's avatarBrian Paul <>
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");
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