diff options
Diffstat (limited to 'tests/shaders/glsl-useprogram-displaylist.c')
-rw-r--r-- | tests/shaders/glsl-useprogram-displaylist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/shaders/glsl-useprogram-displaylist.c b/tests/shaders/glsl-useprogram-displaylist.c index 616c28536..56fb0e9d6 100644 --- a/tests/shaders/glsl-useprogram-displaylist.c +++ b/tests/shaders/glsl-useprogram-displaylist.c @@ -54,7 +54,7 @@ piglit_init(int argc, char **argv) GLint fsg; GLint vs; - if (!GLEW_VERSION_2_0) { + if (piglit_get_gl_version() < 20) { printf("Requires OpenGL 2.0\n"); piglit_report_result(PIGLIT_SKIP); } |