[Piglit] [PATCH] Replaced calls from assert(glGetError()==0) with piglit_check_gl_error()

Juliet Fru julietfru at gmail.com
Sat Oct 18 10:40:53 PDT 2014

Hello Ilia,

assert(glGetError() == 0) will abort (and thus fail) the test if
> there's an error. However I don't see anything in
> piglit_check_gl_error that will mark the test as failed. Perhaps you
> need to do like
> if (!piglit_check_gl_error(GL_NO_ERROR)) piglit_report_result(PIGLIT_FAIL);
> or something along those lines.
Thanks very much for the reply. I would make the necessary changes ASAP.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20141018/4a294a1b/attachment-0001.html>

More information about the Piglit mailing list