[Piglit] [PATCH 1/3] depth-cube-map: remove useless glFinish and piglit_report_result
Marek Olšák
maraeo at gmail.com
Sat Oct 6 18:49:34 PDT 2012
---
tests/texturing/depth-cube-map.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/tests/texturing/depth-cube-map.c b/tests/texturing/depth-cube-map.c
index ad3408a..47f2477 100644
--- a/tests/texturing/depth-cube-map.c
+++ b/tests/texturing/depth-cube-map.c
@@ -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;
}
--
1.7.9.5
More information about the Piglit
mailing list