summaryrefslogtreecommitdiff
path: root/tests/shaders/glsl-vs-normalscale.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/shaders/glsl-vs-normalscale.c')
-rw-r--r--tests/shaders/glsl-vs-normalscale.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/shaders/glsl-vs-normalscale.c b/tests/shaders/glsl-vs-normalscale.c
index 30b0031c8..d8e1b444b 100644
--- a/tests/shaders/glsl-vs-normalscale.c
+++ b/tests/shaders/glsl-vs-normalscale.c
@@ -67,7 +67,7 @@ void piglit_init(int argc, char **argv)
GLint vs, fs;
int loc;
- if (!GLEW_VERSION_2_0) {
+ if (piglit_get_gl_version() < 20) {
printf("Requires OpenGL 2.0\n");
piglit_report_result(PIGLIT_SKIP);
}