summaryrefslogtreecommitdiff
path: root/tests/shaders/sso-user-varying-02.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/shaders/sso-user-varying-02.c')
-rw-r--r--tests/shaders/sso-user-varying-02.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/shaders/sso-user-varying-02.c b/tests/shaders/sso-user-varying-02.c
index abdc90bba..d1a9a9d52 100644
--- a/tests/shaders/sso-user-varying-02.c
+++ b/tests/shaders/sso-user-varying-02.c
@@ -82,7 +82,7 @@ piglit_init(int argc, char **argv)
{
GLboolean try_to_render;
- if (!GLEW_VERSION_2_0) {
+ if (piglit_get_gl_version() < 20) {
printf("Requires OpenGL 2.0\n");
piglit_report_result(PIGLIT_SKIP);
}