summaryrefslogtreecommitdiff
path: root/tests/fbo/fbo-drawbuffers-maxtargets.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/fbo/fbo-drawbuffers-maxtargets.c')
-rw-r--r--tests/fbo/fbo-drawbuffers-maxtargets.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/fbo/fbo-drawbuffers-maxtargets.c b/tests/fbo/fbo-drawbuffers-maxtargets.c
index 061527077..9fbf9ac6d 100644
--- a/tests/fbo/fbo-drawbuffers-maxtargets.c
+++ b/tests/fbo/fbo-drawbuffers-maxtargets.c
@@ -186,7 +186,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);
}