summaryrefslogtreecommitdiff
path: root/tests/shaders/fp-fragment-position.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/shaders/fp-fragment-position.c')
-rw-r--r--tests/shaders/fp-fragment-position.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/shaders/fp-fragment-position.c b/tests/shaders/fp-fragment-position.c
index b2f34a7be..3859d1cb4 100644
--- a/tests/shaders/fp-fragment-position.c
+++ b/tests/shaders/fp-fragment-position.c
@@ -274,7 +274,7 @@ piglit_init(int argc, char **argv)
GLubyte rectangle[200][200][4];
GLubyte tex[256*256][4];
- if (!GLEW_VERSION_1_3) {
+ if (piglit_get_gl_version() < 13) {
printf("Requires OpenGL 1.3\n");
piglit_report_result(PIGLIT_SKIP);
}