summaryrefslogtreecommitdiff
path: root/tests/shaders/glsl-vs-point-size.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/shaders/glsl-vs-point-size.c')
-rw-r--r--tests/shaders/glsl-vs-point-size.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/shaders/glsl-vs-point-size.c b/tests/shaders/glsl-vs-point-size.c
index 5b7fc1d0b..c8d9f066b 100644
--- a/tests/shaders/glsl-vs-point-size.c
+++ b/tests/shaders/glsl-vs-point-size.c
@@ -85,7 +85,7 @@ piglit_init(int argc, char **argv)
GLint vs;
GLint point_size_range[2];
- if (!GLEW_VERSION_2_0) {
+ if (piglit_get_gl_version() < 20) {
printf("Requires OpenGL 2.0\n");
piglit_report_result(PIGLIT_SKIP);
}