diff options
author | Vinson Lee <vlee@vmware.com> | 2011-12-26 14:15:00 -0800 |
---|---|---|
committer | Vinson Lee <vlee@vmware.com> | 2011-12-26 16:02:43 -0800 |
commit | 63c5c8f5e09930eb4bd20e2814cfcd0be01ff48b (patch) | |
tree | 5fb432e28ca729d8c77f0ee7dd50deb63825b214 /tests/spec/arb_copy_buffer | |
parent | 5d58173c5890aedbc194cb9d7225f0f2fa9bc1d5 (diff) |
spec/arb_copy_buffer: Require OpenGL 1.5.
glBufferData is available only if the GL version is 1.5 or greater.
Signed-off-by: Vinson Lee <vlee@vmware.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Diffstat (limited to 'tests/spec/arb_copy_buffer')
-rw-r--r-- | tests/spec/arb_copy_buffer/copy_buffer_coherency.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/spec/arb_copy_buffer/copy_buffer_coherency.c b/tests/spec/arb_copy_buffer/copy_buffer_coherency.c index cba3f2f31..8781324f4 100644 --- a/tests/spec/arb_copy_buffer/copy_buffer_coherency.c +++ b/tests/spec/arb_copy_buffer/copy_buffer_coherency.c @@ -69,6 +69,10 @@ do_copy() void piglit_init(int argc, char *argv[]) { + if (!GLEW_VERSION_1_5) { + printf("Requires OpenGL 1.5\n"); + piglit_report_result(PIGLIT_SKIP); + } piglit_require_extension("GL_ARB_vertex_buffer_object"); piglit_require_extension("GL_ARB_copy_buffer"); |