summaryrefslogtreecommitdiff
path: root/tests/shaders/glsl-fs-bug25902.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/shaders/glsl-fs-bug25902.c')
-rw-r--r--tests/shaders/glsl-fs-bug25902.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/shaders/glsl-fs-bug25902.c b/tests/shaders/glsl-fs-bug25902.c
index 743e615c9..a50524967 100644
--- a/tests/shaders/glsl-fs-bug25902.c
+++ b/tests/shaders/glsl-fs-bug25902.c
@@ -74,10 +74,7 @@ piglit_init(int argc, char **argv)
float black[4] = {0.0, 0.0, 0.0, 0.0};
float white[4] = {1.0, 1.0, 1.0, 0.0};
- if (piglit_get_gl_version() < 20) {
- printf("Requires OpenGL 2.0\n");
- piglit_report_result(PIGLIT_SKIP);
- }
+ piglit_require_gl_version(20);
piglit_ortho_projection(piglit_width, piglit_height, GL_FALSE);