summaryrefslogtreecommitdiff
path: root/tests/shaders/glsl-invalid-asm-01.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/shaders/glsl-invalid-asm-01.c')
-rw-r--r--tests/shaders/glsl-invalid-asm-01.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/shaders/glsl-invalid-asm-01.c b/tests/shaders/glsl-invalid-asm-01.c
index 92392da71..a6686bd20 100644
--- a/tests/shaders/glsl-invalid-asm-01.c
+++ b/tests/shaders/glsl-invalid-asm-01.c
@@ -76,7 +76,7 @@ piglit_init(int argc, char **argv)
GLuint prog;
GLenum err;
- if (!GLEW_VERSION_2_0) {
+ if (piglit_get_gl_version() < 20) {
printf("Requires OpenGL 2.0\n");
piglit_report_result(PIGLIT_SKIP);
}