summaryrefslogtreecommitdiff
path: root/tests/general/draw-vertices-half-float.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/general/draw-vertices-half-float.c')
-rw-r--r--tests/general/draw-vertices-half-float.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/general/draw-vertices-half-float.c b/tests/general/draw-vertices-half-float.c
index b81b19c27..c962ebf1c 100644
--- a/tests/general/draw-vertices-half-float.c
+++ b/tests/general/draw-vertices-half-float.c
@@ -51,10 +51,7 @@ void piglit_init(int argc, char **argv)
piglit_ortho_projection(piglit_width, piglit_height, GL_FALSE);
- if (piglit_get_gl_version() < 15) {
- printf("Requires OpenGL 1.5\n");
- piglit_report_result(PIGLIT_SKIP);
- }
+ piglit_require_gl_version(15);
piglit_require_extension("GL_ARB_half_float_vertex");
glShadeModel(GL_FLAT);