diff options
Diffstat (limited to 'tests/shaders/link-mismatch-layout-01.c')
-rw-r--r-- | tests/shaders/link-mismatch-layout-01.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/shaders/link-mismatch-layout-01.c b/tests/shaders/link-mismatch-layout-01.c index ec0de6de8..e1d0f8fd9 100644 --- a/tests/shaders/link-mismatch-layout-01.c +++ b/tests/shaders/link-mismatch-layout-01.c @@ -66,7 +66,7 @@ piglit_init(int argc, char **argv) GLuint prog; GLuint fs[2]; - if (!GLEW_VERSION_2_0) { + if (piglit_get_gl_version() < 20) { printf("Requires OpenGL 2.0\n"); piglit_report_result(PIGLIT_SKIP); } |