summaryrefslogtreecommitdiff
path: root/tests/shaders/glsl-max-varyings.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/shaders/glsl-max-varyings.c')
-rw-r--r--tests/shaders/glsl-max-varyings.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/shaders/glsl-max-varyings.c b/tests/shaders/glsl-max-varyings.c
index 4592c87ee..40b232f9a 100644
--- a/tests/shaders/glsl-max-varyings.c
+++ b/tests/shaders/glsl-max-varyings.c
@@ -258,7 +258,7 @@ 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);
}