From 98b984fb14374e8a87371153e1f4c5a7b6ed2bd2 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 3 Mar 2010 16:47:02 -0800 Subject: fbo-generatemipmap: Only complain once per mipmap level. --- tests/fbo/fbo-generatemipmap.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/fbo/fbo-generatemipmap.c b/tests/fbo/fbo-generatemipmap.c index a8024399..6b9b8a7c 100644 --- a/tests/fbo/fbo-generatemipmap.c +++ b/tests/fbo/fbo-generatemipmap.c @@ -131,9 +131,9 @@ test_mipmap_drawing(int start_x, int start_y, int dim) else expected = white; - pass &= piglit_probe_pixel_rgb(start_x + x, - start_y + y, - expected); + pass = pass && piglit_probe_pixel_rgb(start_x + x, + start_y + y, + expected); } } -- cgit v1.2.3