summaryrefslogtreecommitdiff
path: root/tests/shaders/glsl-kwin-blur-1.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/shaders/glsl-kwin-blur-1.c')
-rw-r--r--tests/shaders/glsl-kwin-blur-1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/shaders/glsl-kwin-blur-1.c b/tests/shaders/glsl-kwin-blur-1.c
index b29ce9b2e..8f4899396 100644
--- a/tests/shaders/glsl-kwin-blur-1.c
+++ b/tests/shaders/glsl-kwin-blur-1.c
@@ -227,7 +227,7 @@ enum piglit_result piglit_display(void)
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);
}