Commit 52c7f69e authored by Marek Olšák's avatar Marek Olšák

depth-cube-map: remove useless glFinish and piglit_report_result

Reviewed-by: Brian Paul's avatarBrian Paul <brianp@vmware.com>
parent 3a0382ac
......@@ -221,8 +221,6 @@ piglit_display(void)
glDrawElements(GL_TRIANGLE_STRIP, 4, GL_UNSIGNED_INT, elements);
glPopMatrix();
glFinish();
/* Test the pixel color of polygons against the expected output */
pass = piglit_probe_pixel_rgb(110, 135, ColorPosX);
pass = pass && piglit_probe_pixel_rgb(185, 135, ColorNegX);
......@@ -233,6 +231,5 @@ piglit_display(void)
pass = piglit_check_gl_error(GL_NO_ERROR) && pass;
piglit_present_results();
piglit_report_result(pass ? PIGLIT_PASS : PIGLIT_FAIL);
return pass ? PIGLIT_PASS : PIGLIT_FAIL;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment