summaryrefslogtreecommitdiff
path: root/tests/shaders/glsl-fwidth.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/shaders/glsl-fwidth.c')
-rw-r--r--tests/shaders/glsl-fwidth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/shaders/glsl-fwidth.c b/tests/shaders/glsl-fwidth.c
index a8a301f10..659d2140c 100644
--- a/tests/shaders/glsl-fwidth.c
+++ b/tests/shaders/glsl-fwidth.c
@@ -84,7 +84,7 @@ static const char *fragShaderText2 =
void
piglit_init(int argc, char **argv)
{
- if (!GLEW_VERSION_2_0) {
+ if (piglit_get_gl_version() < 20) {
printf("Requires OpenGL 2.0\n");
piglit_report_result(PIGLIT_SKIP);
}