summaryrefslogtreecommitdiff
path: root/tests/fbo/fbo-drawbuffers-blend-add.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/fbo/fbo-drawbuffers-blend-add.c')
-rw-r--r--tests/fbo/fbo-drawbuffers-blend-add.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/fbo/fbo-drawbuffers-blend-add.c b/tests/fbo/fbo-drawbuffers-blend-add.c
index c5722fc15..d41d9cd78 100644
--- a/tests/fbo/fbo-drawbuffers-blend-add.c
+++ b/tests/fbo/fbo-drawbuffers-blend-add.c
@@ -229,7 +229,7 @@ piglit_init(int argc, char **argv)
piglit_ortho_projection(piglit_width, piglit_height, GL_FALSE);
- if (!GLEW_VERSION_2_0) {
+ if (piglit_get_gl_version() < 20) {
printf("Requires OpenGL 2.0\n");
piglit_report_result(PIGLIT_SKIP);
}