summaryrefslogtreecommitdiff
path: root/tests/spec/nv_conditional_render/begin-zero.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/spec/nv_conditional_render/begin-zero.c')
-rw-r--r--tests/spec/nv_conditional_render/begin-zero.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/spec/nv_conditional_render/begin-zero.c b/tests/spec/nv_conditional_render/begin-zero.c
index 8218a1d5e..cbe8f2d3b 100644
--- a/tests/spec/nv_conditional_render/begin-zero.c
+++ b/tests/spec/nv_conditional_render/begin-zero.c
@@ -53,7 +53,7 @@ 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);
}