diff options
author | Marek Olšák <maraeo@gmail.com> | 2012-09-29 15:13:03 +0200 |
---|---|---|
committer | Marek Olšák <maraeo@gmail.com> | 2012-10-10 00:53:01 +0200 |
commit | 52c7f69e1978c45503dbb62bd149363bc1ec7078 (patch) | |
tree | 9d10f5ac7fb2b754f6045eeb963152c40e785698 | |
parent | 3a0382ac5f741de6418b7e2ac997411147899132 (diff) |
depth-cube-map: remove useless glFinish and piglit_report_result
Reviewed-by: Brian Paul <brianp@vmware.com>
-rw-r--r-- | tests/texturing/depth-cube-map.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/texturing/depth-cube-map.c b/tests/texturing/depth-cube-map.c index ad3408a1b..47f24772e 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; } |