diff options
Diffstat (limited to 'tests/shaders/glsl-link-empty-prog-01.c')
-rw-r--r-- | tests/shaders/glsl-link-empty-prog-01.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/shaders/glsl-link-empty-prog-01.c b/tests/shaders/glsl-link-empty-prog-01.c index 1c44884e9..de8ffce94 100644 --- a/tests/shaders/glsl-link-empty-prog-01.c +++ b/tests/shaders/glsl-link-empty-prog-01.c @@ -45,7 +45,7 @@ enum piglit_result piglit_display(void) void piglit_init(int argc, char **argv) { - if (!GLEW_VERSION_2_0) { + if (piglit_get_gl_version() < 20) { printf("Requires OpenGL 2.0\n"); piglit_report_result(PIGLIT_SKIP); } |