summaryrefslogtreecommitdiff
path: root/tests/general/attribs.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/general/attribs.c')
-rw-r--r--tests/general/attribs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/general/attribs.c b/tests/general/attribs.c
index f48d8b956..198f07523 100644
--- a/tests/general/attribs.c
+++ b/tests/general/attribs.c
@@ -528,7 +528,8 @@ enum piglit_result piglit_display(void)
}
}
- assert(glGetError() == 0);
+ if (!piglit_check_gl_error(GL_NO_ERROR))
+ piglit_report_result(PIGLIT_FAIL);
piglit_present_results();
return pass ? PIGLIT_PASS : PIGLIT_FAIL;